login
A277721
a(n) = floor(n*t^3) - A003146(n), where t = 1.8392867... is the tribonacci constant A058265.
3
2, 1, 1, 0, 3, 2, 2, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 3, 2, 2, 1, 0, 1, 0, 2, 1, 2, 1, 3, 2, 2, 2, 1, 1, 0, 3, 2, 2, 1, 1, 1, 3, 2, 2, 2, 1, 1, 0, 2, 2, 2, 1, 0, 1, 0, 2, 1, 1, 1, 1, 0, 2, 2, 2, 1, 0, 0, 0, 2, 1, 1, 1, 3, 2, 2, 1, 1, 1, 0, 2, 2, 2, 1, 1, 0, 3, 2, 2, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 3, 2
OFFSET
1,1
COMMENTS
Always in the set {-1,0,1,2,3}, but first occurrence of -1 is at n = 2047. - Jeffrey Shallit, Nov 19 2016
LINKS
CROSSREFS
Sequence in context: A116382 A050606 A352521 * A023416 A080791 A336361
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Oct 28 2016
STATUS
approved