Good Primes
A good prime is a prime number whose square is greater than the product of any two primes at the same number of positions before and after it in the sequence of primes.
A good prime satisfies the inequality:
pn2 > p(n-i) * p(n+i)
for all 1 ≤ i ≤ n−1. pn is the nth prime.
First 20: 5, 11, 17, 29, 37, 41, 53, 59, 67, 71, 97, 101, 127, 149, 179, 191, 223, 227, 251, 257
Checkout list of first: 10, 50, 100, 500, 1000 good primes. You can also check all good primes.
Visualization#
Every frame counter is increased by one. If it is good prime then dot appears. Color has no meaning. Video has 25fps.
You can also compare it with other types.
External#
- OEIS: A028388
- Wikipedia: Good primes
- Youtube: Visualization up to 1 million
Tags#
Related Articles#
- Lucky Primes
- Super Primes
- Wilson Primes
- Additive and Multiplicative Primes
- Additive Primes
- Bell Primes
- Carol Primes
- Centered Decagonal Primes
- Centered Heptagonal Primes
- Centered Square Primes
- Centered Triangular Primes
- Chen Primes
- Class 1+ Primes
- Cousin primes
- Cuban Primes 1
- Cuban Primes 2
- Cullen Primes
- Dihedral Primes
- Double Mersenne Primes
- Emirps
- Euclid Primes
- Factorial Primes
- Fermat Primes
- Fibonacci Primes
- Genocchi Primes
- Happy Primes
- Harmonic Primes
- Isolated Primes
- Kynea Primes
- Left-truncatable primes
- Leyland Primes
- Long Primes
- Lucas Primes
- Mersenne Primes
- Mills Primes
- Multiplicative Primes
- Palindromic Primes
- Pierpont Primes Of the 2nd kind
- Pierpont Primes
- Prime numbers
- Prime Quadruplets
- Prime Quintuplets 1
- Prime Quintuplets 2
- Prime Sextuplets
- Prime Triplets
- Proth Primes
- Pythagorean Primes
- Quartan Primes
- Restricted Left-truncatable primes
- Restricted Right-truncatable primes
- Right-truncatable primes
- Safe Primes
- Sexy prime quadruplets
- Sexy prime triplets
- Sexy primes
- Solinas Primes
- Sophie Germain Primes
- Thabit primes of the 2nd kind
- Thabit Primes
- Twin primes
- Two sided primes
- Ulam Primes
- Wagstaff Primes
- Weakly Primes
- Wedderburn-Etherington Primes
- Woodall Primes