A190702 Positions of 3 in A190698.
1, 5, 9, 12, 16, 20, 24, 27, 31, 35, 42, 46, 50, 53, 57, 61, 65, 68, 72, 76, 83, 87, 91, 94, 98, 102, 106, 109, 113, 117, 121, 124, 128, 132, 139, 143, 147, 150, 154, 158, 162, 165, 169, 173, 177, 180, 184, 188, 195, 199, 203, 206, 210, 214, 218, 221, 225, 229, 233, 236, 240, 244, 247, 251, 255, 259, 262, 266, 270, 274, 277, 281
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A190698.
Programs
-
Mathematica
r = Sqrt[3]; 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}] (* A190698 *) Flatten[Position[t, 0]] (* A190699 *) Flatten[Position[t, 1]] (* A190700 *) Flatten[Position[t, 2]] (* A190701 *) Flatten[Position[t, 3]] (* A190702 *) Flatten[Position[t, 4]] (* A190703 *)
Comments