Placement AptitudeVery hardProduct company OA · CAT level
For how many positive integers n does n! end in exactly 30 zeros?
- A. 5
- B. 1
- C. 4
- D. 0
Correct answer: D. 0
The number of trailing zeros of n! is ⌊n/5⌋ + ⌊n/25⌋ + ⌊n/125⌋ + … For n = 120 to 124 this is 24 + 4 = 28. At n = 125 the count jumps by three (125 = 5³ adds three fives at once) to 25 + 5 + 1 = 31. So the values 29 and 30 are skipped altogether and no factorial ends in exactly 30 zeros. 5 is the usual answer (five consecutive n share each attainable count), but it assumes every count is attainable.
Practise more Advanced Quantitative Ability (Placement) questionsAdvanced Quantitative Ability (Placement): notes and key points
More Advanced Quantitative Ability (Placement) questions
- A function f satisfies f(x) + f(1/(1 − x)) = x for every real x other than 0 and 1. What is f(2)?
- x, y and z are positive real numbers with x + y + z = 12. What is the maximum value of x·y²·z³?
- What is the minimum value of f(x) = |x − 1| + |2x − 5| + |4x − 18| over all real x?
- Two circles of radii 9 cm and 4 cm touch each other externally and both rest on a straight line. A third circle is drawn in the gap…
- In triangle ABC, AB = 10 cm, AC = 17 cm and BC = 21 cm. A square is drawn inside the triangle with one side lying on BC and the other two…
- P is a point inside a circle of radius 13 cm, at a distance of 5 cm from the centre. How many chords of the circle pass through P and have…