A265843 Number of moves for the prime winding graph to have a zero x coordinate value.
1, 2, 6, 12, 18, 24, 36, 42, 48, 1150, 1154, 1180, 1188, 1206, 1240, 1268, 1688, 1970, 1982, 2016, 2028, 2040, 2194, 3270, 3300, 3308, 3346, 3360, 3372, 3390, 3408, 3438, 3480, 3510, 3518, 3554, 3562, 4042, 4542, 4554, 4574, 5136, 5164, 5174
Offset: 1
Keywords
Links
- Gregory Whittaker, Prime winding graph
- Gregory Whittaker, JavaScript code for prime winding graphK
Programs
-
PARI
lista(nn) = {x = 0; y = 0; dir = 1; for (n=1, nn, x += round(cos(dir*Pi/2)); y += round(sin(dir*Pi/2)); if (!x, print1(n, ", ")); if (isprime(n), dir ++); dir = dir % 4;);} \\ Michel Marcus, Dec 17 2015
Comments