Quote:
Originally Posted by uphorik_85
Suppose you want to find the rightmost nonzero digit of 23!
first find the highest powr of 5 in 23 i,e 4
then remove all the factors of 5 from 23! ..let it be (23)!
so..
(23)! =1*2*3*4*6*7*8*9 (units digit is 6)
*11*12*13*14*16*17*18*19 (units digit is 6)
*21*22*23 (units digit is 6)
*1*2*3*4 (units didit is 4) (removing factor of 5 from 5,10,15,20)
units digit of 6^n is alwayse 6
hence units digit of (23)! is 4 i,e (23)!=z4
in odr to get the right most digit of 23! we hav to divide it by 2^4(since 4 is the higst pwr of 5 in 23!)
hence..
let the rightmost non zero digit of 23! is xR
z4=2^4*xR
z4 =16*xR
dis gives R=4..hence rightmost nonzero digit of 23! is 4
|
i think answer is 6, here is explanation
23 ! will have 4 multiples of 5, so we'll remove 2 power 4 i.e 16 from 23!
1*2*3*4*5*6*7*8*9---> last digit 6
11*12*13*14*15*17*18*19--->6
21*22*23------------------->6
so last non zero digit is 6