|
|
A059016
|
|
Number of 0's in binary expansion of Fibonacci(n).
|
|
3
|
|
|
1, 0, 0, 1, 0, 1, 3, 1, 2, 4, 1, 3, 6, 3, 3, 6, 2, 4, 8, 8, 5, 8, 7, 4, 10, 11, 8, 7, 8, 7, 12, 10, 13, 9, 11, 13, 12, 11, 16, 14, 11, 11, 14, 13, 12, 16, 10, 19, 21, 15, 16, 18, 18, 19, 21, 16, 17, 23, 16, 20, 25, 23, 16, 20, 24, 19, 26, 20, 32, 24, 25, 27, 24, 23, 27, 28, 29, 31
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,7
|
|
COMMENTS
|
Records are 1, 3, 4, 6, 8, 10, 11, 12, 13, 16, 19, 21, 23, 25, 26, 32, ... at positions 0, 6, 9, 12, 18, 24, 25, 30, 32, 38, 47, 48, 57, ... - R. J. Mathar, Nov 05 2012
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
with(combinat): a := proc (n) local fbin: fbin := convert(fibonacci(n), base, 2): nops(fbin)-add(fbin[j], j = 1 .. nops(fbin)) end proc: seq(a(n), n = 0 .. 80); # Emeric Deutsch, Jul 09 2009
|
|
PROG
|
(PARI) b(n)= { if (n==0, return(1)); c=0; i=n; until (i<=1, q=i/2; if (frac(q)==0, c++); i=floor(q); ); return (c); } { for (n = 0, 1000, a=b(fibonacci(n)); write("b059016.txt", n, " ", a); ) } \\ Harry J. Smith, Jun 24 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|