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