A085855 Number of 1's in decimal expansion of Fibonacci(n).
0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 2, 0, 1, 3, 0, 0, 0, 2, 2, 3, 1, 0, 1, 1, 0, 0, 0, 1, 2, 1, 0, 2, 3, 1, 0, 1, 3, 3, 2, 0, 0, 1, 2, 1, 3, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 2, 3, 0, 1, 2, 2, 2, 4, 2, 1, 1, 3, 1, 0, 1, 2, 1, 1, 5, 1, 2, 3, 2, 2, 5, 4, 3, 1, 2, 5, 3, 1, 1, 2, 2, 2, 3, 5, 2, 1, 0
Offset: 0
Examples
Fibonacci(10)=55, so a(10)=0 and Fibonacci(21)=10946, so a(21)=1.
Links
- Alois P. Heinz, Table of n, a(n) for n = 0..20000
Crossrefs
Programs
-
Mathematica
Table[DigitCount[Fibonacci[n]][[1]], {n, 0, 200}] (* Vladimir Joseph Stephan Orlovsky, Jul 01 2011 *)