%I #3 Mar 31 2012 13:21:13
%S 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,
%T 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,
%U 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
%N a(n) = Sum of peak heights of the n-th Dyck-path encoded by A014486(n).
%F a(n) = A125989(A014486(n)).
%e A014486(2) = 10 (1010 in binary) which encodes Dyck path /\/\ with two peaks at height=1, thus a(2)=2.
%Y a(n) = a(A125976(n)) for all n.
%K nonn
%O 0,3
%A _Antti Karttunen_, Jan 02 2007