tanmaykothari2710
For a positive integer n, find number of zeroes at right end of n! ( \(n! = n*(n-1)*(n-2)......*1\) )
Statement 1: n is a prime number lying between 18 and 30
Statement 2: Greatest prime number dividing (n-1)! is 19
Number of zeroes in a factorial would depend on numbers of 2 or 5, and as number of 5s will be lesser, 5s will give us our answer.Now what about number of 5s --
They will increase only when a multiple of 5 is added, that is number of 5s will remain same from 20! to 24!, and will increase in 25!.Statement 1: n is a prime number lying between 18 and 30
So n can be 19, 23 or 29..
19! will have 3* 5s so 3 zeroes in the end.
23! will have 4* 5s so 4 zeroes in the end.
29! will have 6* 5s so 6 zeroes in the end.
Insuff
Statement 2: Greatest prime number dividing (n-1)! is 19
Now greatest prime number dividing (n-1)! is 19,
so (n-1)! will not be divisible by the next prime number after 19, that is 23.so \(19\leq{n-1}<{23}............20\leq{n}<{24}......n=20, 21, 22, 23\)
As we have seen above that the number of 5s will remain same from values of n as 20 to n as 24.Hence, the number of Zeroes will always be 4, irrespective of value of n as 20, 21, 22 or 23.
Suff
B
OA given as C is wrong