Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There are already several functions which give the primes or number of primes in a particular range, in Sage - prime_pi, prime_range, primes, primes_first_n, etc.