Mathematics (JEE)ModerateCodeforces Div2 B
How many trailing zeros does 150! have when written in base 12?
- A. 72
- B. 146
- C. 73
- D. 145
Correct answer: A. 72
Since 12 = 2^2 * 3, each trailing zero needs two factors of 2 and one factor of 3; v2(150!) = 146 and v3(150!) = 72, so the count is min(146 // 2, 72) = 72.
Practise more Permutations, Combinations and Probability questionsPermutations, Combinations and Probability: notes and key points
More Permutations, Combinations and Probability questions
- A 3 × 4 rectangular board is tiled completely by 1 × 2 dominoes (in either orientation). How many tilings are possible?
- A 3 × 6 rectangular board is tiled completely by 1 × 2 dominoes. How many tilings are possible?
- A 1 × 7 strip is tiled with single squares and 1 × 2 dominoes. How many tilings are possible?
- A 2 × 6 board is tiled with 1 × 2 dominoes only. How many tilings are possible?
- A path of 5 vertices is coloured with 3 colours so that adjacent vertices get different colours. How many colourings are possible?
- How many strings of length 6 over {0, 1, 2} have no two consecutive equal symbols?