login
A082401
a(n)=A005374(n)-floor(r*n) where r is the positive root of x^3+x-1=0.
0
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, 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, 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
OFFSET
0,1
FORMULA
It seems that sum(k=1, n, a(k)) is asymptotic to C*n where C=0.53...>1/2
CROSSREFS
Sequence in context: A084091 A368463 A080846 * A157238 A337546 A059448
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 15 2003
STATUS
approved