Skip to content
Technique

Highest power of a number dividing a product

Arithmetic • Number System • Factors and Divisors

Statement

Write in primes, and write the divisor as . If the prime occurs times in , then divides exactly when for every , so the largest such is the SMALLEST of the quotients : the prime that runs out first fixes the answer.

How to use it

  1. 1Factorise every base in the product into primes and carry each index through before collecting like primes.
  2. 2For only the twos and the fives matter and each has , so the answer is the smaller of those two counts — never their sum.
  3. 3When carries a repeated prime, such as , divide that prime's count by its index before comparing.

Worked example

What is the largest for which divides ?

Step-by-step

  1. 1
    , so

    Why: Factorise the divisor and carry the index through to each prime.

  2. 2
    Twos: . Threes:

    Why: Each prime imposes its own ceiling on .

  3. 3

Answer

Watch out

Adding the two counts, or taking the larger instead of the smaller, is the usual slip: for dividing the answer is , not and not . A repeated prime in must also be divided out — the count of twos is not itself the ceiling when is or .

Builds on

Also known as

largest power of 10 dividing a product, trailing zeros of a product, highest power of a composite dividing a number, minimum of prime exponents, number of zeros at the end of a product