login
Prime number spiral (clockwise, Northeast spoke).
10

%I #33 Sep 08 2022 08:45:01

%S 2,5,41,127,269,467,751,1093,1523,2027,2621,3299,4007,4861,5749,6763,

%T 7867,9041,10273,11719,13121,14723,16319,18061,19963,21851,23857,

%U 26021,28289,30661,33029,35531,38201,40993,43759,46751,49789,52957,56197

%N Prime number spiral (clockwise, Northeast spoke).

%C 8-spoke wheel overlays prime number spiral; hub is 2 in shell 0; 8 spokes radiate from this hub; this is Northeast, clockwise.

%H Ivan Panchenko, <a href="/A054553/b054553.txt">Table of n, a(n) for n = 0..1000</a>

%F a(n) = A000040(A054554(n+1)). - _R. J. Mathar_, Aug 29 2018

%e Begin a prime number spiral at shell 0 (prime 2), proceed clockwise, Northeast.

%e From _Omar E. Pol_, Feb 19 2022: (Start)

%e The spiral with four terms in every spoke looks like this:

%e .

%e 227 101--103--107--109--113--127

%e | | |

%e 223 97 29---31---37---41 131

%e | | | | |

%e 211 89 23 3----5 43 137

%e | | | | | | |

%e 199 83 19 2 7 47 139

%e | | | | | |

%e 197 79 17---13---11 53 149

%e | | | |

%e 193 73---71---67---61---59 151

%e | |

%e 191--181--179--173--167--163--157

%e .

%e (End)

%t Table[ Prime[4n^2 - 10n + 7], {n, 1, 40} ]

%o (Magma) [NthPrime(4*n^2 - 10*n + 7): n in [1..40]]; // _Vincenzo Librandi_, Aug 29 2018

%Y Cf. A000040, A054554, A054551, A054555, A054564, A054566, A054568, A054570, A053999.

%K easy,nonn

%O 0,1

%A _Enoch Haga_ and _G. L. Honaker, Jr._, Apr 10 2000

%E Edited by _Robert G. Wilson v_, Feb 25 2002