A190554 Positions of 4 in A190549.
7, 12, 24, 36, 41, 53, 65, 70, 82, 94, 106, 111, 123, 135, 140, 152, 164, 176, 181, 193, 205, 210, 222, 234, 239, 246, 251, 263, 275, 280, 292, 304, 309, 321, 333, 345, 350, 362, 374, 379, 391, 403, 408, 415, 420
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