OFFSET
0,5
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..4862
EXAMPLE
The first positive numbers in Greedy Catalan Base representation are:
A014418(1) = 1
A014418(2) = 10
A014418(3) = 11
A014418(4) = 20
A014418(5) = 100
A014418(6) = 101
A014418(7) = 110
Of these, the first "even" representation (ending with zero) occurs at n=2, thus a(0) = a(1) = 0, and a(2) = 1. The next even representations occur at n=4, 5 and 7, thus a(3) = 1, a(4) = 2, a(5) = 3, a(6) = 3 and a(7) = 4.
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 25 2014
STATUS
approved