:orphan: Examples ======== This gallery walks through every public feature of ``mathematicskit.number_theory``: modular arithmetic, primality testing, the Chinese Remainder Theorem, continued fractions, multiplicative functions, and Diophantine equations. See also the narrative tutorial: - :doc:`/tutorials/counting_primes_and_probability` Each script in this gallery is self-contained and can be run directly with ``python examples/number_theory/
/