galois.
primes
Returns the primes \(p \le n\).
n (int) – A positive integer.
The primes up to and including \(n\).
list
Examples
In [1]: galois.primes(19) Out[1]: [2, 3, 5, 7, 11, 13, 17, 19]