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”).

A276799
a(n) = floor(n*t^2) - A003145(n), where t = 1.8392867... is the tribonacci constant A058265.
8
1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 2, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 2, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1
OFFSET
1,29
COMMENTS
a(n) is in {-1, 0, 1, 2}, but the first n for which -1 appears is n = 329. - Jeffrey Shallit, Nov 19 2016
LINKS
FORMULA
a(n) = A277722(n) - A003145(n). - R. J. Mathar, Nov 02 2016
CROSSREFS
Cf. A003144, A003145, A003146, A275926, A058265, A276800, A277721, A278352 (positions of -1's).
Sequence in context: A305053 A374081 A353454 * A353423 A037907 A365167
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Oct 28 2016
STATUS
approved