Heegner Number - Consecutive Primes

Consecutive Primes

Given an odd prime p, if one computes for (this is sufficient because ), one gets consecutive composites, followed by consecutive primes, if and only if p is a Heegner number.

For details, see "Quadratic Polynomials Producing Consecutive Distinct Primes and Class Groups of Complex Quadratic Fields" by Richard Mollin.

Read more about this topic:  Heegner Number