OFFSET
1,2
FORMULA
a(n+1)=2*a(n)+mu(n+1)^2 a(n)=sum(i=1, n, mu(i)^2*2^(n-i))
a(n)=sum{k=0..n, abs(mu(n-k+1))*2^k}; - Paul Barry, Jul 20 2005
EXAMPLE
59 = 111011 and mu(1)^2,mu(2)^2,mu(3)^2,mu(4)^2,mu(5)^2,mu(6)^2 = 1,1,1,0,1,1 hence 59 is in the sequence
PROG
(PARI) a(n)=sum(i=1, n, moebius(i)^2*2^(n-i))
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Benoit Cloitre, Oct 02 2002
STATUS
approved