OFFSET
0,3
LINKS
FORMULA
a(2*n) = 2*a(n); a(4*n+1) = 4*a(n)+1.
EXAMPLE
n=45->101101->[1]0[11]0[1]->[1]0[2]0[1]->[1]0[10]0[1]->101001->a(45)=41.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Reinhard Zumkeller, Jul 31 2010
STATUS
approved