A190566 Positions of 4 in A190561.
12, 24, 41, 53, 70, 82, 111, 123, 140, 152, 181, 193, 210, 222, 239, 251, 280, 292, 309, 321, 350, 362, 379, 391, 408, 420, 432, 449, 461, 478, 490, 519, 531, 548, 560, 589, 601, 618, 630, 647, 659, 688, 700, 717, 729, 758, 770, 787, 799, 816, 828, 840, 857, 869, 886, 898, 927, 939, 956, 968, 997, 1009
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