A190553 Positions of 3 in A190549.
2, 4, 9, 14, 19, 21, 26, 31, 33, 38, 43, 48, 50, 55, 60, 62, 67, 72, 74, 77, 79, 84, 89, 91, 96, 101, 103, 108, 113, 118, 120, 125, 130, 132, 137, 142, 144, 147, 149, 154, 159, 161, 166, 171, 173, 178, 183, 188, 190, 195, 200, 202, 207, 212, 217, 219, 224, 229, 231, 236, 241, 243, 248, 253, 258, 260, 265, 270, 272, 277, 282, 287
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