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.

A244219 The starting points of runs of consecutive terms with the same parity in A014418 (n represented in Greedy Catalan Base).

Original entry on oeis.org

0, 1, 2, 3, 4, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 37, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 53, 54, 55, 56, 57, 58, 59, 60, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 81
Offset: 0

Views

Author

Antti Karttunen, Jun 23 2014

Keywords

Comments

The starting points of runs in A244220 and A244221.
Thus, after zero, the positions where A014418(n-1) <> A014418(n) modulo 2. (Same is true for A244161).
One more than the partial sums of A244226.

Crossrefs

Programs

  • Scheme
    (define (A244219 n) (if (zero? n) 0 (+ 1 (A244218 (- n 1)))))

Formula

a(0) = 0, a(n) = 1 + A244218(n-1).