This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Number Theory

Modular arithmetic operations and sequences of numbers

You can perform elementary number-theoretic operations to find the LCM, GCD, modulus, quotient, and remainder. You also can find prime numbers, and special sequences of numbers, such as harmonic, Bernoulli, and Euler numbers.


bernoulli Bernoulli numbers and polynomials
divisors Divisors of integer or expression
euler Euler numbers and polynomials
gcd Greatest common divisor
harmonic Harmonic function (harmonic number)
lcm Least common multiple
mod Symbolic modulus after division
nextprime Next prime number
prevprime Previous prime number
quorem Quotient and remainder
rem Remainder after division
Was this topic helpful?