A190710 [(bn+c)r]-b[nr]-[cr], where (r,b,c)=(sqrt(3),4,3) and [ ]=floor.
3, 2, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 3, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 3, 2, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 3, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 3, 2, 0, 3, 2, 1, 0, 3, 2, 1, 0, 3, 2, 1, 4, 3, 1, 0, 3, 2
Offset: 1
Keywords
Programs
-
Mathematica
r = Sqrt[3]; 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}] (* A190710 *) Flatten[Position[t, 0]] (* A190711 *) Flatten[Position[t, 1]] (* A190712 *) Flatten[Position[t, 2]] (* A190713 *) Flatten[Position[t, 3]] (* A190714 *) Flatten[Position[t, 4]] (* A190715 *)
Comments