login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A133775
Number of 0's in the minimal "phinary" (A130600) representation of n.
3
0, 2, 3, 2, 5, 5, 7, 6, 5, 5, 4, 8, 8, 8, 7, 8, 8, 11, 10, 9, 9, 8, 8, 8, 9, 8, 7, 7, 6, 11, 11, 11, 10, 11, 11, 12, 11, 10, 10, 9, 11, 11, 11, 10, 11, 11, 15, 14, 13, 13, 12, 12, 12, 13, 12, 11, 11, 10, 11, 11, 11, 10, 11, 11, 13, 12, 11, 11, 10, 10, 10, 11, 10, 9, 9, 8, 14, 14, 14, 13, 14, 14
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
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
Sequence in context: A074196 A153023 A068319 * A099043 A318677 A239327
KEYWORD
nonn
AUTHOR
Casey Mongoven, Sep 23 2007
STATUS
approved