Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Mathematical Functions >
Number Theoretic Functions
Mathematica contains the world's largest collection of number theoretic functions, many based on specially developed algorithms.
Prime the nth prime
PrimeQ test for primality
NextPrime  ▪ PrimePi  ▪ LogIntegral  ▪ Zeta  ▪ ZetaZero
Integer Factorization
FactorInteger find the factors of an integer
Divisibility
GCD  ▪ LCM  ▪ Divisible  ▪ CoprimeQ  ▪ ExtendedGCD
Congruences
Divisors
Partitions
Representations as Sums of Powers
Analytic Number Theory
TUTORIALS
MORE ABOUT
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team