[go: up one dir, main page]

login
A126302
a(n) = Sum of peak heights of the n-th Dyck-path encoded by A014486(n).
2
0, 1, 2, 2, 3, 3, 3, 4, 3, 4, 4, 4, 5, 4, 4, 4, 5, 6, 5, 4, 5, 6, 4, 5, 5, 5, 6, 5, 5, 5, 6, 7, 6, 5, 6, 7, 5, 5, 5, 5, 6, 5, 6, 6, 7, 8, 7, 6, 7, 8, 6, 5, 5, 6, 7, 6, 7, 8, 9, 7, 5, 6, 7, 8, 5, 6, 6, 6, 7, 6, 6, 6, 7, 8, 7, 6, 7, 8, 6, 6, 6, 6, 7, 6, 7, 7, 8, 9, 8, 7, 8, 9, 7, 6, 6, 7, 8, 7, 8, 9, 10, 8
OFFSET
0,3
FORMULA
a(n) = A125989(A014486(n)).
EXAMPLE
A014486(2) = 10 (1010 in binary) which encodes Dyck path /\/\ with two peaks at height=1, thus a(2)=2.
CROSSREFS
a(n) = a(A125976(n)) for all n.
Sequence in context: A271237 A062558 A072789 * A200648 A264982 A134674
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 02 2007
STATUS
approved