OFFSET
1,2
COMMENTS
To built the sequence start from the infinite Fibonacci word : b(n)=floor(n/phi)-floor((n-1)/phi) for n>=1 giving 0,1,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,..... Then replace each 0 by the block {2,3,3} and each 1 by the block {2,3,3,4,3}. Append an initial 1.
REFERENCES
Benoit Cloitre, On properties of irrational numbers related to the floor function, in preparation, 2005.
PROG
(PARI) a(n)=n-floor((1+sqrt(5))/2*floor((-1+sqrt(5))/2*floor((1+sqrt(5))/2*floor((-1+sqrt(5))/2*n))))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Sep 02 2005
STATUS
approved