Practice30Create account

The number 40! is divided by 18, the answer is divided by 18 again, and so on for as long as the result stays a whole number. How many divisions are possible?

Competition practiceNumber & Arithmetic
  • A18
  • B38
  • C19
  • D9

Step-by-Step Solution

Since , every division uses up one 2 and TWO 3s. Count the 3s in 40! as ⌊40/3⌋ + ⌊40/9⌋ + ⌊40/27⌋ = 13 + 4 + 1 = 18, then halve them because they are spent in pairs — that allows 9 divisions. The 2s are no obstacle at all: ⌊40/2⌋ + ⌊40/4⌋ + ⌊40/8⌋ + ⌊40/16⌋ + ⌊40/32⌋ = 20 + 10 + 5 + 2 + 1 = 38. The answer is the smaller of the two limits, 9. The trap 18 forgets to halve and treats 18 as though it were 3; 38 reports the supply of 2s; and 19 halves the wrong prime.
Answer: D) 9

Master this topic in 30 minutes a day.

Don't just memorise the answer — build a daily practice habit.

Practice 5 Similar Questions Free →

All Number & Arithmetic practice questions

More Number & Arithmetic practice

How many of the whole numbers from 1 to 84 have no factor greater than 1 in common with…The digits of 2¹⁰⁰⁰ are added together; the digits of that answer are added together;…Many whole numbers can be broken up into a run of two or more consecutive whole numbers…A perfect square is written down, but only its last two digits can still be read. Which…In the stack 7^7^7 the exponent is itself 7⁷, so the number is 7 raised to the power…