This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
L a s t n o n z e r o d i g i t o f N ! i s t h e l a s t n o n z e r o d i g i t o f 2 A ∗ A ! ∗ B ! . w h e r e N = 5 A + B , 0 ≤ B < 5 . 4 0 0 = 5 ∗ 8 0 + 0 ⟹ A = 8 0 , B = 0 . 8 0 ! = 1 0 ! ∗ 1 0 ! 2 0 ! ∗ 2 0 ! 3 0 ! ∗ 3 0 ! 4 0 ! ∗ 4 0 ! 5 0 ! ∗ 5 0 ! 6 0 ! ∗ 6 0 ! 7 0 ! ∗ 7 0 ! 8 0 ! P r o d u c t o f l a s t n o n z e r o d i g i t s f r o m c a l c u l a t o r = 8 ∗ 4 ∗ 4 ∗ 2 ∗ 8 ∗ 8 ∗ 4 ∗ 2 ∗ 8 = 4 8 . L a s t n o n z e r o d i g i t o f 8 0 ! = 8 . L a s t n o n z e r o d i g i t o f 2 8 0 = 6 . L a s t n o n z e r o d i g i t o f 4 0 0 ! = l a s t n o n z e r o d i g i t o f 2 8 0 ∗ 8 0 ! ∗ 0 ! = 8 ∗ 6 ∗ 1 = 8 .
My DESMOS High Precision calculator had 102 digits and 7 0 ! 8 0 ! were more than 102 digits. So I had divided 7 0 ! 8 0 ! b y 1 0 1 4 .
Similarly when calculator answered by going to scientific mode I have used the same method to retain last digit.
I started with 10! and in steps of 10. Depending on your calculator, you may need more small steps, say of 7 or 5 or even 3.
In fact you may use bigger steps for first small values and go on decreasing step values and dividing by power of 10 to eliminate zeros..
400!/396! has 11 digit. So your last step can be of 4. lot of work!
See link below.
link text