OFFSET
1,5
COMMENTS
The values {2^a(n)} form the denominators of the coefficients in the g.f. of A274717, which satisfies G(x) = G(x^2) + sqrt( G(x^2) ).
FORMULA
a(2^n) = 0 for n>=0.
a(2*n-1) = A005187(n-1) for n>=1.
PROG
(PARI) {a(n) = if(n==1, 0, if(n%2==0, a(n/2), a(2*(n\4)+1) + n\2 ) )}
for(n=1, 32, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jul 07 2016
STATUS
approved