login
A327253
a(n) = floor(2*n*r) - 2*floor(n*r), where r = sqrt(6).
4
0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0
OFFSET
0
LINKS
FORMULA
a(n) = floor(2*n*r) - 2*floor(n*r), where r = sqrt(6).
MATHEMATICA
r = Sqrt[6]; z = 300;
t = Table[Floor[2 n r] - 2 Floor[n*r], {n, 0, z}]
CROSSREFS
The positions of 0's and 1's in {a(n) : n > 0} are given by A327254 and A327255.
Sequence in context: A327211 A348327 A144607 * A051840 A174275 A353673
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 03 2019
STATUS
approved