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.

A088570 Sum of terms in n-th block of Kolakoski sequence.

Original entry on oeis.org

1, 4, 2, 2, 1, 4, 1, 4, 2, 2, 2, 4, 1, 2, 2, 2, 1, 4, 2, 2, 2, 2, 1, 4, 1, 4, 2, 2, 1, 4, 1, 2, 2, 2, 2, 4, 1, 4, 2, 2, 1, 4, 1, 4, 2, 2, 2, 2, 1, 4, 1, 2, 2, 4, 1, 4, 2, 2, 1, 4, 1, 4, 2, 2, 2, 4, 1, 2, 2, 2, 1, 4, 1, 4, 2, 2, 2, 2, 1, 4, 2, 2, 2, 4, 1, 2, 2, 2, 2, 4, 1, 4, 2, 2, 1, 4, 1, 2, 2, 4, 1, 4, 1, 2, 2
Offset: 1

Views

Author

Benoit Cloitre, Nov 17 2003

Keywords

Crossrefs

Cf. A000002.

Formula

a(n) = (3+(-1)^n)/2*A000002(n).