A054551 Prime number spiral (clockwise, North spoke).
2, 3, 31, 107, 241, 443, 709, 1049, 1471, 1973, 2539, 3191, 3911, 4729, 5651, 6637, 7699, 8867, 10133, 11503, 12941, 14537, 16073, 17863, 19727, 21601, 23609, 25759, 27967, 30319, 32719, 35201, 37831, 40627, 43391, 46399, 49411, 52553, 55813
Offset: 0
Examples
Begin a prime number spiral at zero, proceed clockwise, North. From _Omar E. Pol_, Feb 19 2022: (Start) The spiral with four terms in every spoke looks like this: . 227 101--103--107--109--113--127 | | | 223 97 29---31---37---41 131 | | | | | 211 89 23 3----5 43 137 | | | | | | | 199 83 19 2 7 47 139 | | | | | | 197 79 17---13---11 53 149 | | | | 193 73---71---67---61---59 151 | | 191--181--179--173--167--163--157 . (End)
Links
- Ivan Panchenko, Table of n, a(n) for n = 0..1000
- Hermetic Systems, Prime Number Spiral.
Programs
-
Mathematica
Table[ Prime[4n^2 - 3n + 1], {n, 0, 40} ]
Formula
Extensions
Edited by Robert G. Wilson v, Feb 25 2002
Comments