Number Theoretic Functions

Mathematica contains the world's largest collection of number theoretic functions, many based on specially developed algorithms.

New to Mathematica? Find your learning path »
Have a question? Ask support »