login
Smallest prime p such that p! ends with exactly 10^n trailing 0's (or 0, if no such p exists).
0

%I #12 Aug 22 2017 15:09:57

%S 5,47,409,4007,40013,400009,0,0,0,4000000019,0,400000000019,0,0,0,0,0,

%T 0,0,40000000000000000019,0,0,0,0,4000000000000000000000039,0,0,0,0,0,

%U 0,0,0,0,40000000000000000000000000000000037,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,400000000000000000000000000000000000000000000000057

%N Smallest prime p such that p! ends with exactly 10^n trailing 0's (or 0, if no such p exists).

%H A. M. Oller-Marcen, J. Maria Grau, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL14/Oller/oller3.html">On the Base-b Expansion of the Number of Trailing Zeros of b^k!</a>, J. Int. Seq. 14 (2011) 11.6.8

%F a(n)=0 or a(n)>4*10^n

%Y Cf. A173558, A080087.

%K nonn,base

%O 0,1

%A _Lekraj Beedassy_, Nov 02 2010

%E More terms from _Robert Gerbicz_, Nov 21 2010