OFFSET
0,3
PROG
(PARI) a(n) = if(n<2, n, if(n%2==0, 2*a(n/2), a((n-1)/2)+a((n-3)/2)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Apr 29 2003
STATUS
approved