Prime::TrialDivision

class Prime::TrialDivision

Parent:
Object
Included modules:
Singleton

Internal use. An implementation of prime table by trial division method.

Public Instance Methods

[](index) Show source

Returns the +index+th prime number.

index is a 0-based index.