A327298 a(n) = floor(3*n*Pi) - 3*floor(n*Pi).
0, 0, 0, 1, 1, 2, 2, 2, 0, 0, 1, 1, 2, 2, 2, 0, 0, 1, 1, 2, 2, 2, 0, 0, 1, 1, 2, 2, 2, 0, 0, 1, 1, 2, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 1, 1, 1, 2, 2, 0, 0, 0, 1, 1, 2, 2, 0
Offset: 0
Links
- Clark Kimberling, Table of n, a(n) for n = 0..10000
Crossrefs
Programs
-
Mathematica
r = Pi; z = 300; t = Table[Floor[3 n*r] - 3 Floor[n*r], {n, 0, z}]
Formula
a(n) = floor(3*n*Pi) - 3*floor(n*Pi).