login
A244219
The starting points of runs of consecutive terms with the same parity in A014418 (n represented in Greedy Catalan Base).
3
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,3
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.
LINKS
FORMULA
a(0) = 0, a(n) = 1 + A244218(n-1).
PROG
(Scheme) (define (A244219 n) (if (zero? n) 0 (+ 1 (A244218 (- n 1)))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 23 2014
STATUS
approved