A110010 a(n) = n-F(F(F(F(n)))) where F(x)=A120613(x)=floor(phi*floor(x/phi)) and phi=(1+sqrt(5))/2.
1, 2, 3, 4, 5, 6, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7, 6, 6, 7, 6, 7, 6, 6, 7, 6, 5, 6, 6, 7
Offset: 1
References
- Benoit Cloitre, On properties of irrational numbers related to the floor function, in preparation, 2005.
Crossrefs
Programs
-
PARI
F(x)=floor((1+sqrt(5))/2*floor((-1+sqrt(5))/2*x)); a(n)=n-F(F(F(F(n))))
Comments