cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A276799 a(n) = floor(n*t^2) - A003145(n), where t = 1.8392867... is the tribonacci constant A058265.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Oct 28 2016

Keywords

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

Crossrefs

Cf. A003144, A003145, A003146, A275926, A058265, A276800, A277721, A278352 (positions of -1's).

Formula

a(n) = A277722(n) - A003145(n). - R. J. Mathar, Nov 02 2016