%I #6 Mar 30 2012 18:39:17
%S 0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,1,1,1,0,0,1,1,0,1,0,0,1,0,0,1,1,
%T 0,1,0,0,1,0,0,1,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,0,1,
%U 0,0,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,0,0,1,0,0,1,1,0,1,0,0,1,0,0,1,1,0,1
%N a(n)=A005374(n)-floor(r*n) where r is the positive root of x^3+x-1=0.
%F It seems that sum(k=1, n, a(k)) is asymptotic to C*n where C=0.53...>1/2
%K nonn
%O 0,1
%A _Benoit Cloitre_, Apr 15 2003