A362692 Length of the "integer part" of the phi-expansion of n.
1, 1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10
Offset: 0
Keywords
Examples
For n = 20 we have n = phi^6 + phi^1 + phi^(-2) + phi^(-6), and the "integer part" has largest term phi^6, so a(20) = 7.
Links
- Paolo Xausa, Table of n, a(n) for n = 0..10000
- George Bergman, A number system with an irrational base, Math. Mag. 31 (1957), 98-110.
- G. R. Sanchis and L. A. Sanchis, On the frequency of occurrence of α^i in the α-expansions of the positive integers, Fibonacci Quart. 39 (2001), 123-137.
- Jeffrey Shallit, Proving Properties of phi-Representations with the Walnut Theorem-Prover, arXiv:2305.02672 [math.NT], 2023.
Programs
-
Mathematica
A362692[n_]:=Floor[Log[GoldenRatio,Max[n,1]]]+1;Array[A362692,100,0] (* Paolo Xausa, Oct 19 2023 *)
Formula
There is a linear representation of rank 9 for a(n).
a(n) = ceiling(log_phi(n)) for n >= 2.
Extensions
a(0) changed to 1 by N. J. A. Sloane, May 26 2023
Comments