Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078565
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078565 Number of zeros in the binary expansion of n!. +0
1
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; listen)
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.

PROGRAM

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

CROSSREFS

Sequence in context: A016652 A008867 A003879 this_sequence A026926 A083751 A034401

Adjacent sequences: A078562 A078563 A078564 this_sequence A078566 A078567 A078568

KEYWORD

nonn

AUTHOR

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

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 20 16:54 EST 2009. Contains 171081 sequences.


AT&T Labs Research