Changes for version 0.39 - 2016-07-24

  • ADDED
    • bernreal returns float value of Bernoulli number
    • is_euler_plumb_pseudoprime Colin Plumb's Euler Criterion test
    • surround_primes returns offsets of prev and next primes
  • PERFORMANCE
    • prev/next/surround prime sieve is slightly deeper
    • Add very simple composite filter for is_perrin_pseudoprime.
    • Internal refactor of Miller-Rabin code to remove one mpz variable.
  • OTHER
    • Add option for restricted Perrin pseudoprimes.

Modules

Utilities related to prime numbers and factoring, using GMP