login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078565 Number of zeros in the binary expansion of n!. 0
0, 1, 1, 3, 3, 6, 7, 10, 13, 11, 19, 17, 21, 25, 23, 27, 27, 30, 40, 40, 41, 42, 44, 51, 54, 54, 56, 56, 63, 60, 71, 76, 77, 77, 77, 88, 86, 90, 90, 97, 99, 106, 105, 107, 117, 115, 117, 114, 122, 126, 130, 138, 138, 151, 144, 146, 157, 160, 158, 160, 176, 172, 170, 176 (list; graph; refs; listen; history; internal format)
OFFSET

1,4

FORMULA

a(n) = Sum_COMPONENTS(COMPLEMENT(BINARY_VECTOR(n!)))

EXAMPLE

a(4) = 3 because 4!=24)D=11000)B and it has 3 zero digits.

PROG

(PARI) for(n=1, 300, b=binary(n!); print1(sum(k=1, length(b), if(b[k], 0, 1))", "))

CROSSREFS

Sequence in context: A008867 A185958 A003879 * A026926 A083751 A034401

Adjacent sequences:  A078562 A078563 A078564 * A078566 A078567 A078568

KEYWORD

nonn

AUTHOR

Jose R. Brox (tautocrona(AT)terra.es), Jan 26 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 11:46 EST 2012. Contains 206011 sequences.