login
A327211
a(n) = [(2n+2)e] - [(n+2)e] - [ne], where [ ] = floor.
3
0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0
OFFSET
0
LINKS
FORMULA
[(2n+2)e] - [(n+2)e] - [ne], where [ ] = floor.
MATHEMATICA
r = E; 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 A327212 and A327213.
Sequence in context: A353760 A358770 A022925 * A348327 A144607 A327253
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Aug 29 2019
STATUS
approved