A110011 a(n) = n-F(F(F(F(F(n))))) = n-F^5(n) where F(x)=A120613(x)=floor(phi*floor(x/phi)) and phi=(1+sqrt(5))/2.
1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 9, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 9, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 9, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 9, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 7, 8, 7, 8, 8, 7, 8, 8, 9, 8, 7, 8, 8, 7, 8, 7, 8
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(F(n)))))
Comments