Quote:
Originally Posted by ygdrasil24
Reffering to Q 16 Ace Cat 1:
My approach :
Last digit of 5^563 will always be 5.
Last digit of 2^585 will be 2 as cyclcity is of 4 , and 2^1=2.
to find last non zero digit of 5^563 * 2^585....
answer should be 1.
Whats wrong in my approach.?
|
dude in the approach u had the flaw was that
when u considered only last digit it turned out to be 5 * 2 = 10
but u interpreted it wrong it just tells you that the last digit is zero and has nothing to do with second last digit
on the same lines if u carry out a multiplication of last two digits u'll get ans 100(25 * 32) but that tells u that last two digits are zero and does not tell you anything about third last digit
so to get ans by your approach u'll have to consider last 564 digits in each (ie, in 5^563 and in 2^585) and thats a task
hope i have helped u to understand where have u gone wrong!! cheers