login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Maximum number of zeros in the representation of n in any base.
2

%I #2 Mar 31 2012 10:26:36

%S 0,1,1,2,1,1,1,3,2,2,1,2,1,1,1,4,3,3,2,3,2,2,1,3,2,2,3,2,2,2,1,5,4,4,

%T 3,4,3,3,2,4,3,3,2,3,2,2,1,4,3,3,2,3,2,3,2,3,2,2,1,2,1,1,2,6,5,5,4,5,

%U 4,4,3,5,4,4,3,4,3,3,2,5,4,4,3,4,3,3,3,4,3,3,2,3,2,2,1,5,4,4,3,4

%N Maximum number of zeros in the representation of n in any base.

%e a[10]=2 since 10 in base 2 is 1010, containing 2 zeros

%K base,easy,nonn

%O 1,4

%A _Erich Friedman_, Jul 21 2001