Professional Documents
Culture Documents
N!
N!
where n = 5a + b
OR
Z(90!) = 44 * 48 * 1 = xx12
NOTE : if ten's digit of 'ab' was even then we will take 66 instead of 44 and if we were asked to find only unit digit then 4 and 6
Step 2:R(n!) = R(2^a) * R(a!) * R(b!) So, for 37 => R(2^7) * R(7!) * R(2!)
Note: We can repeat process for R(a!) if a is on the higher sideHere, R(37!) = R(128 ) * R(5040) * R(2)= 8*4*2 = 64 => 4