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  ▪ PrimeOmega  ▪ LogIntegral  ▪ Zeta  ▪ ZetaZero  ▪ ...
FactorInteger find the factors of an integer
Divisibility
GCD  ▪ LCM  ▪ Divisible  ▪ CoprimeQ  ▪ ExtendedGCD
Congruences
Divisors  ▪ DivisorSigma  ▪ DivisorSum  ▪ DedekindEta  ▪ EllipticTheta  ▪ ...
IntegerPartitions  ▪ PartitionsP  ▪ StirlingS1  ▪ StirlingS2  ▪ FrobeniusNumber  ▪ ...
Representations as Sums of Powers
IntegerDigits  ▪ FromDigits  ▪ DigitCount  ▪ IntegerExponent  ▪ Log2  ▪ ...
    
MoebiusMu  ▪ EulerPhi  ▪ DivisorSigma  ▪ MangoldtLambda  ▪ PrimeNu  ▪ ...
Zeta  ▪ ZetaZero  ▪ RiemannSiegelZ  ▪ LerchPhi  ▪ DirichletL  ▪ RamanujanTau  ▪ ...
PartitionsP  ▪ PartitionsQ  ▪ BellB  ▪ SquaresR  ▪ ...
TUTORIALS
MORE ABOUT
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team