Where are the numbers?

True or False:

Suppose there is a positive integer a a such that a ! a! has m m trailing number of zeros . There is another distinct positive integer b b such that b ! b! has n n trailing number of zeros. Then, ( a + b ) ! (a+b)! must have m + n m+n trailing number of zeros.

Notation : ! ! denotes the factorial notation. For example, 8 ! = 1 × 2 × 3 × × 8 8! = 1\times2\times3\times\cdots\times8 .


Want some interesting questions like this?. Enter the world where Calculators will not help

False True

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.

1 solution

展豪 張
Jun 14, 2016

Number of trailing zeros m m of a ! a! is actually the maximum power of 5 5 which divides a ! a! and have a formula:
m = a 5 + a 25 + a 125 + m=\lfloor\dfrac a5\rfloor+\lfloor\dfrac a{25}\rfloor+\lfloor\dfrac a{125}\rfloor+\cdots
which is not a linear function.
In fact, ( a + b ) ! (a+b)! has [ \large[ m + n + m+n+ 'number of carries when a a is added to b b in base 5 5 ' ] \large] trailing zeroes. (Proof is left as an exercise for readers. ;))

Very nice explanation on how and why trailing zeroes increases at some points. I am impressed :)

Abhay Tiwari - 5 years ago

Log in to reply

Thank you! =D

展豪 張 - 5 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...