A188552 Prime numbers at locations of angle turns in pentagonal spiral.
2, 3, 5, 7, 11, 17, 23, 31, 59, 71, 83, 97, 127, 179, 199, 241, 263, 311, 337, 419, 449, 479, 577, 647, 683, 839, 881, 967, 1103, 1151, 1249, 1511, 1567, 2111, 2243, 2311, 2591, 2663, 2887, 2963, 3041, 3119, 3361, 3527, 3697, 4049, 4139, 4231, 4703, 4801, 4999, 5099
Offset: 1
Keywords
Examples
The pentagonal spiral's changes of direction (vertices) occur at the primes 2, 3, 5, 7, 11, 17, 23 ...
Links
- Michel Lagneau, Illustration of the numbers in the pentagonal spiral
Crossrefs
Cf. A188551.
Programs
-
Maple
with(numtheory): T:=array(1..300):k:=1:for n from 1 to 50 do:x1:= 2*n^2 -1: T[k]:=x1: x2:= (n+1)*(2*n-1): T[k+1]:=x2:x3:=2*n^2+2*n-1 : T[k+2]:=x3:x4:= 2*n*(n+1): T[k+3]:=x4:x5:=n*(2*n+3): T[k+4]:=x5:k:=k+5:od: for p from 1 to 250 do:z:= T[p]:if type(z,prime)= true then printf(`%d, `,z):else fi:od:
Comments