OFFSET
1,2
REFERENCES
Zeckendorf, E., Représentation des nombres naturels par une somme des nombres de Fibonacci ou de nombres de Lucas, Bull. Soc. Roy. Sci. Liège 41, 179-182, 1972.
LINKS
Casey Mongoven and T. D. Noe, Table of n, a(n) for n = 1..1000
Ron Knott, Using Powers of Phi to represent Integers.
FORMULA
For n > 1, a(n) <= A190796(n) - 2. - Charles R Greathouse IV, Apr 21 2023
EXAMPLE
A130600(5)=10001001, which has five 0's. So a(5)=5.
MATHEMATICA
nn = 100; len = 2*Ceiling[Log[GoldenRatio, nn]]; Table[d = RealDigits[n, GoldenRatio, len]; last1 = Position[d[[1]], 1][[-1, 1]]; Count[Take[d[[1]], last1], 0], {n, 1, nn}] (* T. D. Noe, May 20 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Casey Mongoven, Sep 23 2007
STATUS
approved