Scilab Function
Last update : 1/11/2005

primes - Generate list of prime numbers

Calling Sequence

p = primes(n)

Parameters

Description

A prime number is one that has no factors other than 1 and itself. This function has been imported from MatLab.

Examples

p=primes(100)
// end of example "primes"

See Also

isprime ,   factor ,  

Authors

Dr. Andreas Geissler geisslea@web.de