A054568 Prime number spiral (clockwise, Southwest spoke).
2, 17, 73, 191, 367, 607, 919, 1297, 1753, 2309, 2909, 3623, 4421, 5303, 6257, 7307, 8447, 9643, 10979, 12421, 13883, 15467, 17203, 19037, 20921, 22853, 24953, 27091, 29389, 31859, 34267, 36847, 39551, 42307, 45233, 48311, 51407, 54547, 57781
Offset: 0
Examples
Begin a prime number spiral at shell 0 (prime 2), proceed clockwise, Southwest. 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
Programs
-
Mathematica
Table[ Prime[4n^2 - 6n + 3], {n, 1, 40} ]
Formula
8-spoke wheel overlays prime number spiral; hub is 2 in shell 0; 8 spokes radiate from this hub; this is Southwest, clockwise.
Extensions
Edited by Robert G. Wilson v, Feb 25 2002