%I A060151
%S A060151 1,2,2,3,3,4,5,6,6,7,8,9,9,10,11,12,12,13,14,15,15,16,17,18,19,19,20,
%T A060151 21,22,22,23,24,25,26,26,27,28,29,30,30,31,32,33,34,34,35,36,37,38,38,
%U A060151 39,40,41,42,43,43,44,45,46,47,47,48,49,50,51,51,52,53,54,55,56,56,57
%N A060151 Number of base n digits required to write n!.
%H A060151 Harry J. Smith, <a href="b060151.txt">Table of n, a(n) for n=1,...,1000</
a>
%F A060151 a(n) =1+floor[log(n!)/log(n)] =A060151(n)+1
%e A060151 a(6)=4 since 6!=720=3200 base 6
%o A060151 (PARI) { default(realprecision, 10); for (n=1, 1000, if (n==1, a=1, a=1
+ floor(log(n!)/log(n))); write("b060151.txt", n, " ", a); ) } [From
Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 02 2009]
%Y A060151 Cf. A011776 for number of final zeros of n! written in base n. See also
A039960.
%Y A060151 Sequence in context: A062298 A116579 A156253 this_sequence A097330 A086861
A113865
%Y A060151 Adjacent sequences: A060148 A060149 A060150 this_sequence A060152 A060153
A060154
%K A060151 base,nonn
%O A060151 1,2
%A A060151 Henry Bottomley (se16(AT)btinternet.com), Mar 08 2001
|