Documentation

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.

Functions

bernoulliBernoulli numbers and polynomials
divisorsDivisors of integer or expression
eulerEuler numbers and polynomials
fibonacciFibonacci numbers
gcdGreatest common divisor
harmonicHarmonic function (harmonic number)
lcmLeast common multiple
modSymbolic modulus after division
nextprimeNext prime number
prevprimePrevious prime number
quoremQuotient and remainder
remRemainder after division
Was this topic helpful?