|
|
A110006
|
|
a(n) = n-F(F(n)) where F(x)=A120613(x)=floor(phi*floor(x/phi)) and phi=(1+sqrt(5))/2.
|
|
2
|
|
|
1, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4, 3, 2, 3, 3, 4, 3, 2, 3, 3, 2, 3, 3, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
LINKS
|
|
|
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,changed
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|