Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A094010
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A094010 Least number k such that k! in binary representation has n consecutive nontrivial zeros. +0
2
6, 7, 9, 11, 15, 19, 40, 54, 38, 67, 63, 56, 37, 69, 352, 236, 258, 600, 1234, 979, 901, 3384, 2268, 4675, 5087, 5820, 3184, 12294, 41082, 25557 (list; graph; listen)
OFFSET

1,1

FORMULA

Eliminate the trailing (least significant) trivial zeros by dividing n! by the Sum_{e=1..max) Floor(n/2^e), max is the first exponent where 2^e >= n. See A011371.

EXAMPLE

a(4)=11 because 11!_d = 10011000010001010100000000_b. The last zeros are trivial.

MATHEMATICA

helper[b_][a : {b_, ___}] := Length[a]; helper[b_][a_List] := 0; maxConsecutiveCount[m_List, x_] := Max[helper[x] /@ Split[m]] (from Dr. Bob drbob@bigfoot.com Apr 20 2004)

a = Table[0, {30}]; Do[ b = maxConsecutiveCount[ IntegerDigits[ n! / 2^IntegerExponent[n!, 2], 2], 0]; If[ a[[b]] == 0, a[[b]] = n; Print[b, " = ", n]], {n, 16500}]; a

CROSSREFS

Cf. A094009, A011371.

Sequence in context: A022892 A120164 A074898 this_sequence A100348 A094698 A095908

Adjacent sequences: A094007 A094008 A094009 this_sequence A094011 A094012 A094013

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Apr 20 2004

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research