last five non zero digit of 10^12!
- From: mukesh tiwari <mukeshtiwari.iiitm@xxxxxxxxx>
- Date: Thu, 27 Sep 2007 13:55:09 -0700
hello everybody , i am trying to solve a problem in which i have to
find last five non zero digits of very large number (upto
1,000,000,000,000) . plz help . one link i found on google groups
(http://groups.google.co.in/group/alt.math.recreational/browse_thread/
thread/b3e9f4fb09446ac/230aa5b8bbd3ad75?hl=en&lnk=st&q=last+non+zero
+digit+of+factorial&rnum=1#230aa5b8bbd3ad75)
is very helpful but this algorithm only gives last non zero digit .
can this algorithm applied for any digit of factorial. other problem
is that my numbers are very big so calculating A[1],A[2],A[3],A[4]
upto 10^12 will take lot of time as according to given method in post
so is there any direct way to calculate A{1],A[2],A[3],A[4].for
example 20! = 2432902008176640000 so last five non zero digit will be
17664
.
- Follow-Ups:
- Re: last five non zero digit of 10^12!
- From: matt271829-news
- Re: last five non zero digit of 10^12!
- Prev by Date: Re: mirror question
- Next by Date: Re: Two results of set geometry
- Previous by thread: Primes and stuff. Hard to explain
- Next by thread: Re: last five non zero digit of 10^12!
- Index(es):
Relevant Pages
|