OFFSET
0,2
COMMENTS
Odd terms occur in A025748 at positions (0),1,2,3,(8),9,10,11,(32),33,34,35,(40),...
FORMULA
a(n)=8*A000695(n); a(n)=4*sum{k=0..floor(log_2(n+1)), mod(floor(n/2^k),2)2^(2k+1)};
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Feb 09 2007
STATUS
approved