Ulam Primes
An Ulam number is a member of an integer sequence devised by and named after Stanislaw Ulam, who introduced it in 1964. The standard Ulam sequence (the (1, 2)-Ulam sequence) starts with U1 = 1 and U2 = 2. Then for n > 2, Un is defined to be the smallest integer that is the sum of two distinct earlier terms in exactly one way and larger than all earlier terms.
As a consequence of the definition, 3 is an Ulam number (1+2); and 4 is an Ulam number (1+3). (Here 2+2 is not a second representation of 4, because the previous terms must be distinct.) The integer 5 is not an Ulam number, because 5 = 1 + 4 = 2 + 3.
A Ulam prime is a Ulam number that is also prime.
First 20: 2, 3, 11, 13, 47, 53, 97, 131, 197, 241, 409, 431, 607, 673, 739, 751, 983, 991, 1103, 1433
Checkout list of first: 10, 50, 100, 500, 1000 ulam primes. You can also check all ulam primes.
Visualization#
Every frame counter is increased by one. If it is ulam prime then dot appears. Color has no meaning. Video has 25fps.
You can also compare it with other types.
External#
- OEIS: A068820
- Wikipedia: Ulam prime
- Youtube: Visualization up to 1 million
Tags#
Related Articles#
- Carol Primes
- Centered Decagonal Primes
- Centered Heptagonal Primes
- Centered Square Primes
- Centered Triangular Primes
- Class 1+ Primes
- Cuban Primes 1
- Cuban Primes 2
- Cullen Primes
- Double Mersenne Primes
- Euclid Primes
- Factorial Primes
- Fermat Primes
- Fibonacci Primes
- Genocchi Primes
- Kynea Primes
- Leyland Primes
- Lucas Primes
- Mersenne Primes
- Mills Primes
- Pierpont Primes Of the 2nd kind
- Pierpont Primes
- Proth Primes
- Pythagorean Primes
- Quartan Primes
- Solinas Primes
- Thabit primes of the 2nd kind
- Thabit Primes
- Wagstaff Primes
- Wedderburn-Etherington Primes
- Woodall Primes
- Additive and Multiplicative Primes
- Additive Primes
- Bell Primes
- Chen Primes
- Cousin primes
- Dihedral Primes
- Emirps
- Good Primes
- Happy Primes
- Harmonic Primes
- Isolated Primes
- Left-truncatable primes
- Long Primes
- Lucky Primes
- Multiplicative Primes
- Palindromic Primes
- Prime numbers
- Prime Quadruplets
- Prime Quintuplets 1
- Prime Quintuplets 2
- Prime Sextuplets
- Prime Triplets
- Restricted Left-truncatable primes
- Restricted Right-truncatable primes
- Right-truncatable primes
- Safe Primes
- Sexy prime quadruplets
- Sexy prime triplets
- Sexy primes
- Sophie Germain Primes
- Super Primes
- Twin primes
- Two sided primes
- Weakly Primes
- Wilson Primes