As shown below, the last digit of n ! for each of n = 5 , 6 , 7 is zero: 5 ! = 1 2 0 , 6 ! = 7 2 0 , 7 ! = 5 0 4 0 . Is it true that the last digit of n ! is zero for all positive integers n > 4 ?
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.
For n > 5
n ! = 1 × 2 × 3 × 4 × 5 × … × n = 1 0 × 3 × 4 × … × n = 2 0 × 2 × 3 × … × n
Any integer multiplied by m 0 will end in 0 . Where m is a positive integer.
Note: 5 ! = 1 2 0
Problem Loading...
Note Loading...
Set Loading...
Note that for n ! when n > 4 has the prime factors of 2 and 5 and product of 2 and 5 are responsible for the trailling zeros of n ! . More in general for n ≥ 5
n ! = 1 × 2 × 3 × ⋯ 5 × ⋯ × n n ! = a × ( 2 k × 5 k ) = a × ( 1 0 ) k ( a , k ) ∈ Z + Note : The exponents of 2 and 5 must be checked and equalised to that of exponent of 5 since the exponents of 2 is greater than that of 5 for n !