The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Miscellaneous Stuff ListOfPrimes | |||||||||
See also: IsPrime, FindPrimeFactors | |||||||||
ListOfPrimes |
|||||||||
The function ListOfPrimes returns the first 4792 primes (from 2 to 46337). The parameter ix specifies the index into the list of primes, the valid range being from 1 to 4792. In the case of passing an invalid index, the function returns a zero value.
|