A190552 Positions of 2 in A190549.
1, 6, 11, 16, 18, 23, 28, 30, 35, 40, 42, 45, 47, 52, 57, 59, 64, 69, 71, 76, 81, 86, 88, 93, 98, 100, 105, 110, 115, 117, 122, 127, 129, 134, 139, 141, 146, 151, 156, 158, 163, 168, 170, 175, 180, 185, 187, 192, 197, 199, 204, 209, 211, 214, 216, 221, 226, 228, 233, 238, 240, 245, 250, 255, 257, 262, 267, 269, 274, 279, 284, 286
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A190549.
Programs
-
Mathematica
r = Sqrt[2]; b = 4; c = 1; f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r]; t = Table[f[n], {n, 1, 200}] (* A190549 *) Flatten[Position[t, 0]] (* A190550 *) Flatten[Position[t, 1]] (* A190551 *) Flatten[Position[t, 2]] (* A190552 *) Flatten[Position[t, 3]] (* A190553 *) Flatten[Position[t, 4]] (* A190554 *)
Comments