login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A327208
a(n) = [(2n+2)r] - [(n+2)r] - [nr], where [ ] = floor and r = sqrt(3).
3
0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0
OFFSET
0
LINKS
FORMULA
a(n) = [(2n+2)r] - [(n+2)r] - [nr], where [ ] = floor and r = sqrt(3).
MATHEMATICA
r = Sqrt[3]; z = 200;
t = Table[Floor[(2 n + 2)*r] - Floor[n*r + 2 r] - Floor[n*r], {n, 0, z}]
CROSSREFS
The positions of 0's and 1's in {a(n) : n > 0} are given by A327209 and A327210.
Sequence in context: A353673 A144599 A144608 * A178226 A288622 A095907
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 26 2019
STATUS
approved