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.

A286299 First differences of A286298.

Original entry on oeis.org

1, 2, -1, 2, 1, -1, -1, 2, 1, 1, -1, -1, 1, -1, -1, 2, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 2, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, 1, 1, -1, 1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, -1, 2, 1, 1
Offset: 0

Views

Author

N. J. A. Sloane, Jun 02 2017

Keywords

Comments

A014577 is obtained if sequence terms are changed as follows: 2's replaced by 1's and -1's replaced by 0's. - Karyn McLellan, Aug 16 2018

Crossrefs

Cf. A286298.

Formula

a(n) = 2*A034947(n) if n = 2^k for k>1, otherwise a(n) = A034947(n). - Karyn McLellan, Aug 16 2018