login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A327298
a(n) = floor(3*n*Pi) - 3*floor(n*Pi).
5
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,6
LINKS
FORMULA
a(n) = floor(3*n*Pi) - 3*floor(n*Pi).
MATHEMATICA
r = Pi; z = 300;
t = Table[Floor[3 n*r] - 3 Floor[n*r], {n, 0, z}]
CROSSREFS
The positions of 0's, 1's and 2's in {a(n) : n > 0} are given by A327299, A327300 and A327301.
Sequence in context: A327152 A123186 A127323 * A132896 A089789 A257921
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 05 2019
STATUS
approved