A190564 Positions of 2 in A190561.
4, 6, 11, 16, 18, 23, 28, 33, 35, 40, 45, 47, 52, 57, 62, 64, 69, 74, 76, 81, 86, 88, 93, 98, 103, 105, 110, 115, 117, 122, 127, 132, 134, 139, 144, 146, 151, 156, 158, 161, 163, 168, 173, 175, 180, 185, 187, 192, 197, 202, 204, 209, 214, 216, 221, 226, 228, 231, 233, 238, 243, 245, 250, 255, 257, 262, 267, 272, 274, 279, 284, 286
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A190561.
Programs
-
Mathematica
r = Sqrt[2]; b = 4; c = 3; f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r]; t = Table[f[n], {n, 1, 200}] (* A190561 *) Flatten[Position[t, 0]] (* A190562 *) Flatten[Position[t, 1]] (* A190563 *) Flatten[Position[t, 2]] (* A190564 *) Flatten[Position[t, 3]] (* A190565 *) Flatten[Position[t, 4]] (* A190566 *)
Comments