A190565 Positions of 3 in A190561.
2, 7, 9, 14, 19, 21, 26, 31, 36, 38, 43, 48, 50, 55, 60, 65, 67, 72, 77, 79, 84, 89, 91, 94, 96, 101, 106, 108, 113, 118, 120, 125, 130, 135, 137, 142, 147, 149, 154, 159, 164, 166, 171, 176, 178, 183, 188, 190, 195, 200, 205, 207, 212, 217, 219, 224, 229, 234, 236, 241, 246, 248, 253, 258, 260, 263, 265, 270, 275, 277, 282, 287
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