|
|
A061010
|
|
Number of digits in (10^n)!.
|
|
7
|
|
|
1, 7, 158, 2568, 35660, 456574, 5565709, 65657060, 756570557, 8565705523, 95657055187, 1056570551816, 11565705518104, 125657055180975, 1356570551809683, 14565705518096757, 155657055180967491
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
REFERENCES
|
Jerry Glynn and Theodore Gray, "The Beginner's Guide To Mathematica, Version 4," Cambridge University Press, Cambridge, UK, 2000, p. 26.
|
|
LINKS
|
Eric Weisstein's World of Mathematics, Factorial
|
|
FORMULA
|
a(n) = 1 + floor(log((10^n)!)/(log(10))), and using Stirling's approximation:
a(n) = 1 + delta(n,0) + floor((-2*10^n + log(2) + (1+2*10^n)*n*log(10) + log(Pi))/(2*log(10))). (End)
|
|
MATHEMATICA
|
Table[ Floor[ N[ Log[ 10, (10^n)! ]] + 1 ], {n, 0, 7} ]
$MaxPrecision = Infinity; A061010[n_] := 1 + KroneckerDelta[n, 0] + Floor[(-2*10^n + Log[2] + (1 + 2*10^n)*n*Log[10] + Log[Pi])/(2*Log[10])] (* Enrique Pérez Herrero, Nov 09 2009 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Typo in formula fixed, and Mathematica formula changed to cover a(0)=1, Enrique Pérez Herrero, Feb 06 2010
|
|
STATUS
|
approved
|
|
|
|