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.


Operate on prime numbers, check and prove primality

MuPAD Functions

isprimePrimality test
ithprimeI-th prime number
nextprimeNext prime number
prevprimeNext smaller prime
numlib::checkPrimalityCertificateTest the primality certificate
numlib::OmegaNumber of prime divisors (with multiplicity)
numlib::piNumber of primes up to a given bound
numlib::proveprimePrimality proving using elliptic curves
numlib::primedivisorsPrime factors of an integer


Primes and Factorizations

Prime numbers are positive integers larger than 1 that have only two positive integer divisors: 1 and the number itself.

Was this topic helpful?