Navigation

Operators and Keywords

Function List:

C++ API

Function File: list_primes ()
Function File: list_primes (n)

List the first n primes.

If n is unspecified, the first 25 primes are listed.

See also: primes, isprime.

Package: octave