proposed
approved
proposed
approved
editing
proposed
Numbers n such that whose factorial has '48' as its final 2 nonzero two digits of n! are '48'before the trailing zeros.
approved
editing
editing
approved
Charles R Greathouse IV, <a href="/A045560/b045560.txt">Table of n, a(n) for n = 1..10000</a>
(PARI) last(n, k)=if(n*8\9-1<k, n=n!; return(n/10^valuation(n, 10)%10^k)); my(m=Mod(1, 5^k)); for(i=2, n, m*=i/10^valuation(i, 5)); lift(chinese(m, Mod(0, 2^k))) \\ Gives the last k decimal digits of n!.
is(n)=last(n, 2)==48 \\ Charles R Greathouse IV, Oct 22 2014
(PARI) is(n)=my(m=Mod(1, 25)); for(i=2, n, m*=i/10^valuation(i, 5)); m==48 \\ Charles R Greathouse IV, Oct 22 2014
(PARI) v=List(); m=Mod(1, 25); for(n=2, 1e6, m*=n/10^valuation(n, 5); if(m==48, listput(v, n); if(#v==100, return(Vec(v))))) \\ Charles R Greathouse IV, Oct 22 2014
nonn,base
approved
editing
Jeff Burch (gburch(AT)erols.com)
<a href="/Sindx_index/Fi.html#final">Index entries for sequences related to final digits of numbers</a>
<a href="/Sindx_Fi.html#final">Index entries for sequences related to final digits of numbers</a>
nonn,new
nonn
<a href="http://www.research.att.com/~njas/sequences/Sindx_Fi.html#final">Index entries for sequences related to final digits of numbers</a>
nonn,new
nonn
0,1,1
nonn,new
nonn