A211021 Numbers n such that a new circle appears in the structure of A211000.
11, 13, 15, 34, 41, 65, 71, 75, 275, 281, 285, 437, 443, 561, 567, 575, 581, 591, 597, 605, 611, 617, 647, 663, 957, 971, 1025, 1037, 1043, 1055, 1067, 1073, 1091, 1113, 1153, 1165, 1711, 2243, 3377, 3467, 5809, 7937, 7955, 8021, 8043, 8057, 8063
Offset: 1
Keywords
Links
Programs
-
Mathematica
A211020[nmax_]:=Module[{ep={{0, 0}}, angle=3/4Pi, turn=Pi/2, cells}, Join[{0}, Table[If[!PrimeQ[n], If[n>5&&PrimeQ[n-1], turn*=-1]; angle-=turn]; AppendTo[ep, AngleVector[Last[ep], {Sqrt[2], angle}]]; cells=FindCycle[Graph[MapApply[UndirectedEdge, Partition[ep, 2, 1]]], {4}, All]; CountDistinct[Map[Sort, Map[First, cells, {2}]]], {n, 0, nmax-1}]]]; Flatten[Position[Differences[A211020[1000]],1]] (* Paolo Xausa, Jan 16 2023 *)
Comments