← Maths

Factors, Trailing Zeros and Recurring Decimals

SSC CGL · CHSL · CPO — method by method

4 Part41 worked examples130 practice questions

A factor of a number is a number that divides it exactly: the factors of 12 are 1, 2, 3, 4, 6, 12. A prime number is one with exactly two factors — 1 and itself: 2, 3, 5, 7, 11, 13 … One solid fact: every number can be written as a product of primes in only one way (apart from the order). It is the number’s fingerprint, and the key to this whole chapter.

Once a number is written as , three big families of exam questions can be read straight from that form:

PartTypical questionSolved by
1. Factorshow many factors? their sum? how many pairs? perfect square?multiply the (power + 1) of every prime
2. Trailing zeroshow many zeros at the end of or of a product?counting pairs of 2 and 5
3. Recurring decimalsfraction ↔ decimal, sums, comparing, the -th digitthe 2s, 5s and other primes of the denominator; denominators of 9s and 0s
How to studyAfter every method come solved examples and then questions to do yourself — open a solution only after you have tried. The divisibility tests (2, 3, 5, 7, 11) are in the chapter “Remainders and Divisibility”, and the basics of fractions in the chapter “Simple and Decimal Fractions”.
1

Part 1 — Factors

Count · sum · pairs · squares

From prime factorisation to the count, sum, product, odd/even and pairs of factors.

There are five methods, each resting on the one before. First learn to break a number into primes; everything else is its fruit.

Prime factorisation and the factor tree

Breaking a number into primes, and counting the prime factors.

The idea

Take a number like 924. It is even, so 2 divides it: . 462 is even too: . The digit sum of 231 is 6, so 3 divides it: . And . Now every piece is prime, so stop. . This is the prime factorisation. Always divide by the smallest prime that works; that way no prime is ever missed.

◭ Diagram
2÷22÷23÷37÷79244622317711924 = 2 × 2 × 3 × 7 × 11
The factor tree of 924: at every step the smallest prime (a coloured circle) drops out and the rest goes down; multiplying all the circles gives back 924
∑ Formula
The standard form (every prime, every power )
the given number
the different primes, smallest first
the power of each prime (how many times it appears)
Which prime to tryIt divides whenWhy
2last digit is evenmultiples of 10 are divisible by 2
3digit sum divisible by 3 (mod 3)
5last digit 0 or 5multiples of 10 are divisible by 5
7double the last digit, subtract from the rest; if 7 divides the result, it divides N
11difference of alternate digit sums is 0 or a multiple of 11 (mod 11)

Here: = the number left after cutting off the last digit, = the last digit (in the row for 7); (mod ) means “the remainder on division by ”.

RememberWhere to stop? To break a number , try only primes whose square does not exceed . If no prime up to divides it, itself is prime. (Reason: of any two factors that multiply to , one is always at most .)

Counting the prime factors

“How many prime factors?” has two meanings. In there are 4 different primes (2, 3, 7, 11), but if every prime is counted as many times as it appears, there are prime factors. The exam usually means the second — the sum of the powers. When a base in the product is not prime (like ), break it first: .

∑ Formula
prime factors counted with repeats: add all the powers; the bases must be prime
number of prime factors of (with repeats)
the powers of the primes in standard form

Steps

  1. Divide by the smallest prime (2, then 3, 5, 7 …) as long as it divides; write down each quotient.
  2. Stop when the quotient is 1 (or a prime is left).
  3. Write a prime that repeats as a power.
  4. Multiply back to check that you get the original number.
Example 1 · Basic
Write 756 as a product of primes.
Solution, step by step
  1. 1756 is even, so divide by 2: ; again . 189 is odd, so 2 will not work any more.
  2. 2The digit sum of 189 is , so 3 divides it: , , . 7 is prime, so stop.
  3. 3The divisors were 2, 2, 3, 3, 3 and finally 7, so .
  4. 4Check: ✓
Answer
At each stage check whether the quotient still divides by a small prime; that way no factor is ever missed.
Example 2 · Standard
How many prime factors does the product have in all (each prime counted as many times as it appears), and how many different primes are there?
Solution, step by step
  1. 1The bases 4, 9 and 35 are not prime, so break them first: ; ; .
  2. 2The whole product is .
  3. 3Total prime factors = sum of the powers .
  4. 4Different primes: 2, 3, 5, 7, 11 — that is 5.
Answer 23 (in all), 5 (different)
Power rules: and .
Example 3 · Advanced
Is 1517 prime? If not, find its prime factors.
Solution, step by step
  1. 1, so is about 38.9. We need to try only primes up to 37: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37.
  2. 2The last digit is 7, so not 2 or 5; the digit sum , so not 3. : , remainder 5 — no. 11: — no.
  3. 313: , remainder 9 — no. 17: , remainder 4 — no. 19: , remainder 16 — no. 23: , remainder 22 — no. 29: , remainder 9 — no. 31: , remainder 29 — no.
  4. 437: — it divides! And 41 is prime.
Answer No,
This is also the test for primality: if no prime up to divides , then is prime.
BasicTry it yourself first
Write 1092 as a product of primes.
BasicTry it yourself first
How many prime factors (counting repeats) does have?
StandardTry it yourself first
What is the sum of all the different prime factors of 3003?
StandardTry it yourself first
How many prime factors (counting repeats) does have?
StandardTry it yourself first
If , what is the value of ?
AdvancedTry it yourself first
What is the largest prime factor of 8051?
AdvancedTry it yourself first
The product of two prime numbers is 2491. What is their sum?

The number of factors

Adding 1 to every power and multiplying gives the count of all factors.

The idea

Look at . Any factor of 72 has the form , where the power of 2 can be only one of (4 choices) and the power of 3 only one of (3 choices). Every pair gives a different factor, so there are factors in all. The figure below is exactly this table: row = power of 2, column = power of 3, every cell one factor.

◭ Diagram
133²122²2³139261841236824724 × 3 = 12
The 12 factors of 72: powers of 2 down the side (blue), powers of 3 across the top (green); total
∑ Formula
The total number of factors of (1 and included)
number of factors of
the powers of the primes in

Why “+1”? Because a power may also be zero — the prime may be absent from that factor. For the choices are : one more than the power. This also brings in 1 (all powers 0) and (all powers full).

Form of Number of factorsExample
(prime)213: 1, 13
349: 1, 7, 49
: 7
415: 1, 3, 5, 15
612: 1, 2, 3, 4, 6, 12

Here are different primes and is any power. Two useful facts follow: a number with exactly 3 factors is always the square of a prime; a number with exactly 4 factors is either or .

TrapTrap: “how many factors” includes both 1 and . “Excluding 1 and ” means ; “less than ” means . Read the wording carefully.

The reverse question: finding the number

Sometimes the number of factors is given and the number or a power is asked. Then split into a product; each part (power ). For the smallest number, give the biggest power to the smallest prime (2), the next to 3, then 5. Try every way of splitting.

Split PowersNumber
1211
5, 1
3, 2
2, 1, 1 ← smallest

Steps

  1. Break the number into primes: .
  2. Add 1 to every power: .
  3. Multiply them all.
  4. Look at the condition (count 1 and or not) and subtract accordingly.
Example 4 · Basic
How many factors does 504 have?
Solution, step by step
  1. 1Break 504: , , ; . So .
  2. 2The powers are 3, 2, 1; adding 1 to each gives .
  3. 3Total factors .
Answer 24
While counting, 1 and 504 itself are already inside this count.
Example 5 · Standard
has exactly 36 factors. Find and .
Solution, step by step
  1. 1Number of factors .
  2. 2.
  3. 3. Check: ✓
Answer
Running the same formula backwards gives the unknown power.
Example 6 · Advanced
Find the smallest number that has exactly 18 factors.
Solution, step by step
  1. 1Split 18 into parts: ; ; ; . Each part is a power .
  2. 2The powers are , , , . Giving the biggest power to the smallest prime: ; ; ; .
  3. 3The smallest is 180; check: ✓
Answer 180
Using more primes makes the powers smaller and the number often smaller — but check every split.
BasicTry it yourself first
How many factors does have?
BasicTry it yourself first
The receipt number of a shop is 1001. How many factors does 1001 have?
BasicTry it yourself first
How many factors does have?
StandardTry it yourself first
How many factors does have in all?
StandardTry it yourself first
How many factors of remain if 1 and the number itself are left out?
AdvancedTry it yourself first
What is the smallest number with exactly 10 factors?
AdvancedTry it yourself first
has exactly 15 factors, and . Find the number.

Sum and product of factors

·

The sum of all factors, their product and the sum of their reciprocals.

The idea: the sum

In the table of the last method each cell held a factor. Now we want to add them all. Take : the cells are . The sum of the whole table is exactly what you get by multiplying — because every pairs with every exactly once, which is what expanding a product does. So .

◭ Diagram
155²122²152521050420100 1+5+25 = 31 1+2+4 = 77 × 31 = 217
The 9 factors of 100 and their sum: the sum of the powers of 2 is , of the powers of 5 is , and the product is
∑ Formula
The sum of all factors: one fraction for every prime, all multiplied (each fraction equals )
sum of all factors of
a prime of and its power
multiply over all the primes
TrickInstead of memorising the formula, write the brackets directly: for it is ; for it is . For small powers this is faster than the formula, and there is less room for error.

The product, and the sum of reciprocals

Tie the factors in pairs: and always multiply to . With factors there are pairs, each giving , so the product of all factors is . (When is a perfect square the middle factor stands alone, yet the same formula still holds.)

∑ Formula
The product, and the sum of the reciprocals
product of all the factors
number of factors
sum of the factors

The sum of reciprocals is because and is itself a factor; so . The sum of the proper factors (leaving out itself) is . If this equals , the number is a perfect number (6, 28, 496).

Steps

  1. Write the prime factorisation.
  2. For every prime evaluate the bracket .
  3. Multiply the brackets for ; for the product find and use .
Example 7 · Basic
Find the sum of all the factors of 1400.
Solution, step by step
  1. 1.
  2. 2Brackets: for , ; for , ; for , .
  3. 3Sum .
Answer 3,720
The sum is much larger than the count — there are only factors, but their sum is 3,720.
Example 8 · Standard
Find the product of all the factors of 36 and of all the factors of 30.
Solution, step by step
  1. 1, so . Product .
  2. 2. (Check: in the factors 1, 2, 3, 4, 6, 9, 12, 18, 36, four pairs give 36 each and the middle 6 is left: ✓)
  3. 3, so and the product .
Answer 1,00,77,696 and 8,10,000
In a perfect square the middle factor stands alone, yet still fits.
Example 9 · Advanced
(a) By comparing 496 with the sum of its proper factors, say whether 496 is a perfect number. (b) Find the sum of the reciprocals of all the factors of 60.
Solution, step by step
  1. 1(a) . .
  2. 2Sum of proper factors , equal to the number — so 496 is a perfect number.
  3. 3(b) ; . Sum of reciprocals .
Answer (a) yes; (b)
The proper factors 1, 2, 3 of 6 add to 6; those of 28 (1, 2, 4, 7, 14) add to 28 — these are perfect numbers too.
BasicTry it yourself first
What is the sum of all the factors of 96?
BasicTry it yourself first
What is the sum of all the factors of ?
StandardTry it yourself first
What is the sum of the proper factors of 220 (leaving out 220 itself)?
StandardTry it yourself first
What is the product of all the factors of 24?
StandardTry it yourself first
What is the sum of the reciprocals of all the factors of 12?
AdvancedTry it yourself first
The sum of all the factors of is 781. What is ?
AdvancedTry it yourself first
The product of all the factors of a number is . How many factors does have?

Even, odd and special factors

Power of 2: from 1 to , or only 0

Counting and summing even and odd factors, factors that are multiples of a given number, square and cube factors.

The idea

Every factor of looks like . The factor is odd when 2 does not appear at all, i.e. . It is even when at least one 2 appears, i.e. . The counting rule is the same as before; only the choices for 2 change:

Which factorsCountSum
all
odd ()drop the bracket of 2
even ()
multiples of ()
perfect squareskeep only even powers
perfect cubeskeep only powers that are multiples of 3

Here: = the powers of the primes 2, 3, 7; = number of factors; = their sum; = the whole-number part of (drop the decimals).

The row for “multiples of ” is the most useful. A factor of that is a multiple of can be written , and that something must be a factor of . So has exactly as many factors that are multiples of as has factors. Taking gives the even factors: of them, with sum — both agree with the rows above. Taking gives the “factors ending in zero”.

CheckEven + odd = all, for the count and for the sum. You can get one from the other by subtracting, and it doubles as your check.

Steps

  1. Write the prime factorisation.
  2. Decide which powers of which prime the question allows (even: power of 2 at least 1; odd: power of 2 equal to 0; multiple of : take ’s powers off first; square: even powers).
  3. For every prime write the number of choices (for a count) or the bracket-sum of those choices (for a sum).
  4. Multiply them all.
Example 10 · Basic
How many odd factors and how many even factors does have?
Solution, step by step
  1. 1 and , so .
  2. 2Odd factors contain no 2: the choices for the other primes are .
  3. 3Even factors have a power of 2 from — 4 choices: .
  4. 4Check: total ✓
Answer 6 and 24
The choices of 2 decide the count: only 1 choice (power 0) for odd, choices for even.
Example 11 · Standard
Find the sum of the odd factors and the sum of the even factors of 1960.
Solution, step by step
  1. 1.
  2. 2Odd: leave out the bracket of 2: .
  3. 3Even: the bracket of 2 without the 1: , so .
  4. 4Check: total and ✓
Answer 342 and 4,788
Even factors are not just “doubled” odd ones: the bracket of 2 starts at 2 instead of 1.
Example 12 · Advanced
How many factors of 5400 are (a) multiples of 15, (b) perfect squares, (c) perfect cubes?
Solution, step by step
  1. 1 (since and ).
  2. 2(a) Factors that are multiples of 15 are as many as the factors of : .
  3. 3(b) In a perfect square every power must be even: power of 2 from (2 choices), of 3 from (2 choices), of 5 from (2 choices): .
  4. 4(c) In a perfect cube every power is a multiple of 3: power of 2 from (2), of 3 from (2), of 5 only (1): .
Answer 24, 8, 4
All three parts use one idea: which powers of which prime are allowed — count them and multiply.
BasicTry it yourself first
How many factors of are odd?
BasicTry it yourself first
How many factors of are even?
StandardTry it yourself first
What is the sum of all the odd factors of ?
StandardTry it yourself first
How many factors of 4500 end in 0?
StandardTry it yourself first
How many factors of are perfect squares?
AdvancedTry it yourself first
How many factors of are multiples of 6 but not divisible by 5?
AdvancedTry it yourself first
How many factors of have 5 as the last digit?

Perfect squares, pairs and ways of writing a product

odd perfect square

Pairs of factors, spotting a perfect square, ways of writing a number as a product of two factors, and making a perfect square or cube.

The idea

Every factor of has a partner , and the two multiply to . For 30: , , , — 8 factors, 4 pairs. But for 36: , , , and . Here 6 is its own partner, so it is counted once and the total is — an odd number.

◭ Diagram
130× = 30215× = 30310× = 3056× = 304 pairs = 8 factors
30: in all four pairs the partners are different, so the number of factors is even (8)
◭ Diagram
136× = 36218× = 36312× = 3649× = 3666× = 364 pairs + the middle 6 alone = 9 factors
36: in the pair the factor is its own partner (rose), so the number of factors is odd (9)
∑ Formula
is a perfect square ⟺ its number of factors is odd ⟺ every power in is even
number of factors of

Reason: is odd only when every bracket is odd, i.e. every power is even — and when all powers are even the number is a square anyway. (The locker puzzle: 100 lockers are shut; student flips every -th locker, for to . Locker is flipped once for each of its factors; it ends up open only if the number of factors is odd — that is lockers 1, 4, 9, …, 100.)

Questions about pairs

QuestionAnswerWhen
ways of writing () not a perfect square
a perfect square ( counted)
ways with two different factors a perfect square
counting the order ( first, second)always
co-prime pairs (, ) different primes,

Here: = number of factors of ; = number of different primes in . In a co-prime pair the whole power of each prime goes either to or to (it cannot be split), so there are ordered ways and unordered.

Making a perfect square or cube

For every prime whose power is not even, multiply by it once more (or divide by it once); for a cube make the power a multiple of 3. The smallest multiplier or divisor is the product of exactly the primes whose power is “incomplete”.

Power Multiply (square)Divide (square)Multiply (cube)Divide (cube)
1ppp
2——p
3pp——
4——p
5ppp

Here: = the power of that prime in the number; “—” means do nothing.

Steps

  1. Find the prime factorisation and .
  2. Perfect square test: all powers even (or odd).
  3. For pair questions choose the right row of the table (square or not, order counted or not).
  4. To make a square or cube, look at each prime’s power and build the multiplier or divisor.
Example 13 · Basic
Is 7056 a perfect square? In how many ways can it be written as a product of two factors (order not counted, equal factors allowed)?
Solution, step by step
  1. 1.
  2. 2All the powers (4, 2, 2) are even, so it is a perfect square: .
  3. 3The number of factors is (odd, as it should be).
  4. 4It is a perfect square, so the ways are (this includes ).
Answer a perfect square; 23 ways
Two ways to test: all powers even, or odd. Both say the same thing.
Example 14 · Standard
By what smallest number must 1350 be multiplied to get (a) a perfect square, (b) a perfect cube?
Solution, step by step
  1. 1.
  2. 2(a) For a square all powers must be even. The power 1 of 2 and the power 3 of 3 are odd; the power 2 of 5 is fine. Multiplier . Result ✓
  3. 3(b) For a cube every power must be a multiple of 3. The power 1 of 2 needs more; the power 3 of 3 is already fine; the power 2 of 5 needs one more 5. Multiplier . Result ✓
Answer 6 and 20
The smallest multiplier contains only the primes whose power is incomplete — the others are left alone.
Example 15 · Advanced
In how many ways can be written as a product of two co-prime factors (order not counted)? And when order is counted?
Solution, step by step
  1. 1There are four different primes: 2, 3, 5, 7, so .
  2. 2For the factors to be co-prime the whole power of every prime must go into one factor: into the first or the second, into the first or the second, … — 2 choices for each.
  3. 3With order counted there are ways. But and are the same pair, so without order .
Answer 8 and 16
In a co-prime pair a prime’s power cannot be split — so each prime gives only 2 choices, not .
BasicTry it yourself first
In how many ways can 180 be written as a product of two factors (order not counted)?
BasicTry it yourself first
In how many ways can 2025 be written as a product of two different factors (order not counted)?
StandardTry it yourself first
By what smallest number must 2450 be multiplied to make a perfect square?
StandardTry it yourself first
By what smallest number must 2160 be divided to get a perfect square?
StandardTry it yourself first
By what smallest number must 1125 be multiplied to make a perfect cube?
AdvancedTry it yourself first
In how many ways can 2310 be written as a product of two co-prime factors (order not counted)?
AdvancedTry it yourself first
Which is the largest number below 100 that has exactly 3 factors?
AdvancedTry it yourself first
Which is the smallest perfect square divisible by each of 18, 20 and 30?
2

Part 2 — Trailing zeros

Pairs of 2 × 5 · · products

How many zeros end a product or , and the reverse question.

“With how many zeros does this product end?” is a sure exam question, and you never need to multiply it out. Four methods: the pairing idea, the formula for , the reverse question and different kinds of series.

Where zeros come from: a pair of 2 and 5

zeros

Breaking a product into primes and counting the pairs of 2 and 5.

The idea

One zero at the end means the number is divisible by 10; two zeros mean 100, i.e. ; zeros mean . But , so . So the number must contain twos and fives, and a pair needs both. An example: — the four 5s found four 2s, so 4 zeros; the remaining three 2s and the 3 had no partner.

◭ Diagram
2525102510251025102224 pairs of (2 × 5) → 4 zerosthe 3 spare 2s have no partner
: four pairs (rose line) = four tens = 4 zeros; three 2s left without a partner
∑ Formula
where and are the total powers of 2 and 5 in the prime factorisation of the product
number of trailing zeros
total power of 2 in the product
total power of 5 in the product

Break every number of the product separately and add up the total powers. The reason adding works: . There is no need to multiply out.

RememberTwo firm rules: (1) a product of odd numbers only never ends in 0, because it has not a single 2. (2) As soon as there is a multiple of 5 and an even number, zeros appear — but how many is told by the powers.

Steps

  1. Break every number (or every power) of the product into primes; multiply the exponents by the outer power: .
  2. Add the powers of 2 in all of them → ; add the powers of 5 → .
  3. Number of zeros .
Example 16 · Basic
How many zeros are at the end of the product ?
Solution, step by step
  1. 1Break each number: ; ; ; ; .
  2. 2Total power of 2: .
  3. 3Total power of 5: .
  4. 4Zeros . (Of the ten 2s only six find a 5 to pair with.)
Answer 6
Always add both powers, then pick the smaller — here the power of 5 was smaller.
Example 17 · Standard
How many zeros are at the end of ?
Solution, step by step
  1. 1; ; .
  2. 2Power of 2: and power of 5: .
  3. 3Zeros .
Answer 9
Breaking the bases into primes and multiplying by the outer power — that is the whole job.
Example 18 · Standard
How many zeros are at the end of ?
Solution, step by step
  1. 1; ; has neither a 2 nor a 5.
  2. 2Power of 2: ; power of 5: .
  3. 3This time the 2s run short: zeros . (Five 5s are left without a partner.)
Answer 3
Assuming “the 5s will always be fewer” is a trap. Here the 2s were fewer. Count both.
BasicTry it yourself first
How many zeros are at the end of ?
BasicTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
AdvancedTry it yourself first
Find the smallest natural number for which ends in exactly 3 zeros.
AdvancedTry it yourself first
How many zeros are at the end of ?

Zeros of and Legendre’s formula

The highest power of a prime in , and from it the trailing zeros.

The idea

To count zeros in the earlier method still applies: count 2s and 5s. But here there is a convenience — the 2s always outnumber the 5s (every second number is even, but only every fifth is divisible by 5). So zeros the total power of 5. Now count the 5s: every number from to divisible by 5 gives at least one 5 — there are such numbers. But 25, 50, 75, … contain two 5s (); the first is already counted above, the second is still due — there are such numbers. Multiples of 125 hold a third 5, and so on.

◭ Diagram
⌊130/5⌋26⌊130/25⌋5⌊130/125⌋126 + 5 + 1 = 32
The power of 5 in : 26 numbers are divisible by 5, 5 of them hold a second 5 and 1 (the number 125) holds a third — 32 zeros in all
∑ Formula
The highest power of the prime in (Legendre’s formula); keep adding until the quotient becomes 0
the largest such that divides
a prime (for zeros )
the whole-number part of (divide and drop the remainder)
CheckA check: write in base and add its digits (); then . For example in base 5 is (), digit sum 2, so ✓.

The highest power of a composite number

If asked for the largest such that divides , break . For the number needs a power of 2 of at least and a power of 3 of at least . So — divide each prime’s power by its exponent in the composite and take the smallest. This is also the question “how many zeros end when written in base 12?”.

Steps

  1. Pick the prime (for zeros, 5).
  2. Divide by (whole-number part), then that quotient by again, and so on until the quotient is less than .
  3. Add all the quotients.
  4. For a composite do this for every prime, and take the minimum of power ÷ exponent.
Example 19 · Basic
How many zeros are at the end of ?
Solution, step by step
  1. 1Zeros power of 5 (the 2s are in surplus).
  2. 2 (5, 10, …, 90 — each has at least one 5).
  3. 3 (25, 50, 75 — one extra 5 each). , so stop here.
  4. 4Total zeros.
Answer 21
Add only until the quotient reaches 0; all later terms are 0.
Example 20 · Standard
What is the highest power of 7 in , i.e. the largest for which divides ?
Solution, step by step
  1. 1Legendre’s formula for : first (the multiples of 7).
  2. 2Now multiples of : .
  3. 3, so the rest are 0.
  4. 4.
Answer 48
The formula works for every prime, not only 5.
Example 21 · Advanced
Find the largest for which divides exactly.
Solution, step by step
  1. 1, so .
  2. 2Power of 2 in : .
  3. 3Power of 3 in : .
  4. 4From the 2s: ; from the 3s: .
  5. 5Both conditions must hold: .
Answer 22
Here the 3s set the limit, though the 2s alone could go up to 23 — always take the weakest link.
BasicTry it yourself first
How many zeros are at the end of ?
BasicTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
What is the highest power of 3 in ?
StandardTry it yourself first
What is the highest power of 2 in ?
StandardTry it yourself first
Find the largest for which divides .
AdvancedTry it yourself first
Find the largest for which divides .
AdvancedTry it yourself first
How many zeros end when it is written in base 12?

The reverse question: zeros given, find

zeros, then adjust

The smallest or largest with given zeros, how many are possible, and which zero-counts are impossible.

The idea

Now is unknown and the count of zeros is known. Some things to understand. The zeros of grow with like a staircase: until reaches the next multiple of 5 the zeros stay the same (before , each of to has 4 zeros). Then at one zero is added, but at two are added and at three. So some zero-counts never occur at all.

◭ Diagram
0123456789101112130510152025303540455055nevernever25!50!trailing zeros of n!n
The staircase of the zeros of : a jump of two at (the count 5 never occurs) and again at (the count 11 never occurs)
FactWhy
For a zero-count the possible are either exactly 5 consecutive numbers () or nonezeros rise only at multiples of 5
The smallest such is always a multiple of 5the step begins there
lies roughly between and the power of 5 in is a little under
counts hidden by a jump: , , , two zeros were added at each

Steps

  1. Estimate from the zeros : , and take a multiple of 5 near it.
  2. Find the zeros of that with Legendre.
  3. If the zeros are too few move to the next multiple of 5; if too many, to the previous one. Repeat until exactly .
  4. The where first appears is the smallest, and 4 more than it is the largest.
Example 22 · Basic
Find the smallest for which has at least 31 trailing zeros.
Solution, step by step
  1. 1Estimate: . Check: has zeros — fewer than 31.
  2. 2Zeros rise only at multiples of 5, so try the next multiple of 5, which is 125: has zeros.
  3. 3The previous multiple of 5 is 120: has zeros (fewer than 31). So the smallest is 125.
Answer 125
When is not a multiple of 5 the zeros equal those of the previous multiple of 5 — so test multiples of 5 directly.
Example 23 · Standard
Is there any for which ends with exactly 5 zeros? Explain. Also name the next three zero-counts after 5 that never occur.
Solution, step by step
  1. 1 has zeros (, ).
  2. 2 has zeros, because 25 holds two 5s and so two zeros were added at once. From 4 straight to 6 — the 5 was skipped.
  3. 3So no has exactly 5 zeros.
  4. 4The same happens at (, : 11 skipped), at (, : 17 skipped) and at (, : 23 skipped). The next three: 11, 17, 23.
Answer No; 11, 17, 23
The staircase figure shows exactly this: double jumps at 25, 50, 75, 100.
Example 24 · Advanced
ends with exactly 12 zeros. Find the smallest and the largest value of and the number of possible values of .
Solution, step by step
  1. 1Estimate . has zeros (too few); has — exactly 12 for the first time here.
  2. 2The smallest is 50.
  3. 3 also have and , i.e. 12. At it becomes .
  4. 4The largest is 54 and the possible values are — 5 in all.
Answer 50, 54 and 5
For any possible zero-count there are exactly five consecutive values of .
BasicTry it yourself first
Find the smallest for which has at least 10 trailing zeros.
BasicTry it yourself first
If ends with exactly 7 zeros, what is the smallest value of ?
StandardTry it yourself first
ends with exactly 14 zeros. What is the largest possible value of ?
StandardTry it yourself first
Which of these can never be the number of trailing zeros of any ?
AdvancedTry it yourself first
For how many natural numbers does end with exactly 29 zeros?
AdvancedTry it yourself first
Find the smallest for which is exactly divisible by .
AdvancedTry it yourself first
Find the smallest for which divides .

Products of series

Term by term: powers of 5 and 2

Zeros in the product of a range of numbers, of multiples of a number, of odd numbers only, of terms with powers, and of factorials.

The idea

In the exam the product comes in many shapes, but the job is always the same: find the total power of 5 and of 2 in the whole product, then . All the effort goes into counting and quickly. Each shape has a small trick:

Shape of the productHow to count the power of 5 (or 2)
(consecutive)subtract:
; add the powers of and of separately
odd numbers onlypower of 2 is 0, so 0 zeros; if a power of 2 is multiplied in, count the 5s and take
terms with powers: term gives a power of 5 equal to ; look only at the multiples of 5 and make a table
or : ; for the product of factorials add each

Here: = the power of that prime (5 or 2) in the term; = the power of 5 in (e.g. ); = first and last number of a consecutive product; = the multiple and the number of terms.

TrapThe weakest link: in it is always the 5s that run short, but in a product like with many 5s inside (such as or 25), the 5s are plentiful and the 2s may run short. Count both here.

Steps

  1. Identify the shape (consecutive, multiples, odd, with powers, factorial).
  2. With its trick get the total power of 5.
  3. Get the total power of 2 (or argue that it is far larger than ).
  4. The answer is .
Example 25 · Basic
How many zeros are at the end of the product ?
Solution, step by step
  1. 1This is the part of left after : .
  2. 2Power of 5 in : ; in : .
  3. 3On division the powers subtract: .
  4. 4Power of 2: , far above 20 (of 80 numbers, 40 are even), so the 2s will not run short.
  5. 5Zeros .
Answer 20
A product “from to ” is always a quotient of two factorials.
Example 26 · Standard
How many zeros are at the end of the product (the first 40 multiples of 15)?
Solution, step by step
  1. 1, so the product .
  2. 2Power of 5: gives 40, and gives ; total .
  3. 3Power of 2: has no 2; gives ; total .
  4. 4This time the 2s are fewer: zeros .
Answer 38
First pull out the multiple to get ; then it is easy to add the powers of 2 and 5 of the two parts separately.
Example 27 · Standard
How many zeros are at the end of ?
Solution, step by step
  1. 1The term gives a power of 5 equal to , so look only at the multiples of 5: 5, 10, 15, 20, 25, 30.
  2. 2; ; ; ; (since ); .
  3. 3Total .
  4. 4Power of 2: from the even terms the total is , far above , so zeros .
Answer 130
With powers on the terms, make a table of exponent × ; do not forget two 5s at a term like 25.
Example 28 · Standard
How many zeros are at the end of (all odd numbers up to 49, times 16)?
Solution, step by step
  1. 1The odd numbers carry no 2, so all the 2s come from 16: , .
  2. 2The odd numbers with a 5: 5, 15, 25, 35, 45 — with powers of 5 equal to ; total .
  3. 3Zeros . (Without the 16 the answer would be 0.)
Answer 4
With odd numbers only the 2s can come from outside, so the answer is usually just the power of 2.
BasicTry it yourself first
How many zeros are at the end of ?
BasicTry it yourself first
How many zeros are at the end of (the first 16 multiples of 25)?
StandardTry it yourself first
How many zeros are at the end of (all odd numbers up to 39, times 8)?
StandardTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
AdvancedTry it yourself first
How many zeros are at the end of ?
AdvancedTry it yourself first
How many zeros are at the end of (the first 40 multiples of 6)?
AdvancedTry it yourself first
How many zeros are at the end of ?
3

Part 3 — Recurring decimals

Fraction ↔ decimal · sums · comparing

When a fraction gives a terminating or a recurring decimal, recurring decimal to fraction, operations on them and comparing them.

A decimal can be of three kinds: terminating (it ends, like 0.375), pure recurring (it repeats from the very first digit, like ) and mixed recurring (it repeats after a few digits, like ). The bar on top marks the digits that repeat forever. Four methods: telling the kind, decimal to fraction, operations, and comparing/the -th digit.

Fraction to decimal: when it ends, when it repeats

only 2s and 5s in the denominator ⟹ terminating

The remainder cycle of long division, the test for terminating, counting decimal places and the length of the repeating block.

The idea

Do by long division. At every step we multiply the remainder by 10 and divide by 7; the remainders come as 1, 3, 2, 6, 4, 5 and then 1 returns. The moment a remainder repeats, all the work after it repeats too — and so do the digits: . A remainder is always less than 7 (one of to , six possibilities, or ), so within a few steps either a repeat or an end is certain. If the remainder 0 appears, the division stops and the decimal is terminating.

◭ Diagram
1134226845571/70.142857…inside the circles: remainders · outside: the digit each one produces
Long division of : the remainders (blue circles) go round a cycle and each gives one digit (rose); after six steps the 1 returns, so the repeating block has 6 digits

When does it end? Bring to lowest terms. The decimal stops when some (that is ) is a multiple of the denominator , so the fraction can be rewritten with denominator . That happens only when has no prime other than 2 and 5.

∑ Formula
For the denominator of the fraction in lowest terms
the powers of 2 and 5 in
the larger of the two = number of places after the point

Reason: . To make the 5 appear three times multiply numerator and denominator by : — three places, which is the bigger power 3.

The kind of recurring decimal and the length of the block

Now take where has no 2 or 5. Then the decimal is recurring, and: before the repeat starts there are digits (if , i.e. the denominator is only , it is pure recurring); the length of the block is decided by alone — it is the smallest for which divides ( nines).

39112737101713
Block length11233466
because it divides99999999999999999999999999

Here = the part of the denominator that has no 2 or 5. (For example , , , .) And a neat fact: rotating the digits of gives the other sevenths — , , because the remainder cycle is the same, only the starting point differs.

TrapTrap: reduce the fraction first! The denominator of is , yet is terminating — the 11 cancelled.

Steps

  1. Bring the fraction to lowest terms.
  2. Break the denominator into primes: .
  3. If it terminates, with places. Otherwise recurring: digits before the repeat, and block length from .
  4. If the digits are needed do the long division and stop when a remainder repeats.
Example 29 · Basic
Which of give terminating decimals?
Solution, step by step
  1. 1First reduce and break the denominators into primes. : , denominator — only 2 and 5 ⟹ terminating.
  2. 2: 17 is prime and does not cancel with 90; contains 3 ⟹ recurring.
  3. 3: , lowest form — denominator ⟹ terminating.
  4. 4: , a 3 is left ⟹ recurring. : ⟹ terminating.
Answer
Look at the denominator only after reducing.
Example 30 · Standard
Convert to a decimal by long division and state the length of the repeating block.
Solution, step by step
  1. 113 has no 2 or 5, so the decimal will be pure recurring. Start with remainder 5: remainder 11 ⟹ digit 3.
  2. 2 remainder 6 ⟹ digit 8; remainder 8 ⟹ digit 4; remainder 2 ⟹ digit 6.
  3. 3 remainder 7 ⟹ digit 1; remainder 5 ⟹ digit 5.
  4. 4The remainder 5 has returned (remainders: 5, 11, 6, 8, 2, 7, then 5), so the repeat begins. ; block length 6.
Answer , block length 6
The moment a remainder repeats the digits repeat — the cycle is complete when we return to the first remainder.
Example 31 · Advanced
(a) Without dividing, say how many digits come before the repeat in and how long the block is; then write the decimal. (b) For how many integers from to is terminating?
Solution, step by step
  1. 1(a) 13 is prime, so the fraction is in lowest terms. : , , .
  2. 2Before the repeat there are digits; the block length comes from 11: , so 2 digits.
  3. 3Long division gives (the digits 0, 5 first, then 9, 0 repeat).
  4. 4(b) . terminates only if holds both the 3 and the 7 so that only 2s remain in the denominator, i.e. is a multiple of 21.
  5. 5Multiples of 21 up to 60: 21, 42 — 2 in all.
Answer (a) 2 digits, block 2; (b) 2
In (a) the 11 of decided the block, and the powers of 2 and 5 decided the “digits before”.
BasicTry it yourself first
Write as a decimal.
BasicTry it yourself first
How many digits repeat in the decimal of ?
StandardTry it yourself first
Which of these fractions gives a terminating decimal?
StandardTry it yourself first
How many digits will the decimal of have after the decimal point?
StandardTry it yourself first
Write as a decimal.
AdvancedTry it yourself first
For how many integers from to is a terminating decimal?
AdvancedTry it yourself first
Write as a decimal.
AdvancedTry it yourself first
Given , what is the decimal of without dividing?

Recurring decimal to fraction

digits ÷ (nines for the block, then zeros)

Turning pure and mixed recurring decimals into fractions, and why the method works.

The idea: shift and subtract

Take The block has 2 digits, so multiply by 100: The digits after the point in the two lines are identical, so they cancel on subtraction: , i.e. and . An endless repeat leaves nothing behind — that is the heart of the method.

◭ Diagram
x0.474747…100x47.474747…100x − x= 47the two tails are identical, so they cancel
The tails of and are the same; subtracting gives
∑ Formula
Pure recurring: the number made by the block of digits ÷ as many 9s
the digits of the block (read as one number, like 47)
number of digits in the block
∑ Formula
Mixed recurring: (all the digits) − (the digits before the repeat); in the denominator nines followed by zeros
the digits before the repeat (as one number)
the digits of the block (as one number)
the digits of followed by the digits of : one number

The reason for the mixed case is the same shifting. Let : and The tails of these two are the same, so subtract: , . Here the “nine” in the denominator is for the one digit of the block and the “zero” for the one digit before the repeat. Keep the whole-number part aside and add it at the end: .

◭ Diagram
0.30.330.333⅓each extra 3 lands closer to ⅓0.333… becomes exactly ⅓ in the end
get closer to each time; infinitely many 3s are exactly
RememberSurprising but true: . In the same way . If the decimal ends in endless 9s, it is just the next “round” number.

Steps

  1. Keep the whole-number part aside.
  2. Count the digits before the repeat () and the digits of the block ().
  3. Numerator = (all digits up to the end of the first block, read as a number) − (the digits before the repeat); denominator = nines followed by zeros.
  4. Simplify the fraction and add the whole part.
Example 32 · Basic
Convert into a fraction in lowest terms.
Solution, step by step
  1. 1The block has 3 digits (135) and nothing before it, so the denominator has three 9s: .
  2. 2.
  3. 3Both divide by 27 (, ).
  4. 4Lowest terms: .
Answer
First see whether there are digits before the repeat — none here, so only nines.
Example 33 · Standard
Convert into a fraction in lowest terms.
Solution, step by step
  1. 1One digit before the repeat (2), a block of 2 digits (18). So the denominator: two 9s and one 0 ⟹ .
  2. 2Numerator: all digits (218) − the digits before the repeat (2) .
  3. 3; both divide by 18 (, ).
  4. 4Lowest terms: . Check: ✓
Answer
The nines in the denominator are for the block, the zeros for the digits before the repeat.
Example 34 · Standard
Write as an improper fraction .
Solution, step by step
  1. 1Keep the whole part 4 aside; what remains is — one digit before the repeat (0) and a block of 2 digits (36).
  2. 2Numerator: all digits (036) − the digit before (0) ; denominator: two 9s, one 0 ⟹ .
  3. 3 (both divide by 18).
  4. 4.
Answer
A “0” before the repeat still counts: the denominator gets a zero.
Example 35 · Advanced
Show that and , and explain what “the difference is exactly zero” means.
Solution, step by step
  1. 1: one digit before the repeat (3), a block of one digit (9). Numerator , denominator .
  2. 2.
  3. 3.
  4. 4: there is no place anywhere where a difference could show (every place is 0), so they are one and the same number. Between two different numbers there is always another number; here there is none — which proves they are equal.
Answer and
A decimal ending in endless 9s can always be rewritten as a terminating decimal.
BasicTry it yourself first
Convert into a fraction.
BasicTry it yourself first
Convert into a fraction in lowest terms.
StandardTry it yourself first
Convert into a fraction in lowest terms.
StandardTry it yourself first
Convert into a fraction in lowest terms.
StandardTry it yourself first
Write as an improper fraction.
AdvancedTry it yourself first
Convert into a fraction in lowest terms.
AdvancedTry it yourself first
If (where is a two-digit number), what is ?
AdvancedTry it yourself first
What is the value of ?

Sums, differences, products, quotients and roots of recurring decimals

Make fractions, or add the blocks

Two ways: turn everything into fractions, and for sums stretch the blocks to equal length and add them; plus a few quick patterns.

The idea

Recurring decimals are really fractions, so the safest way is: turn every decimal into a fraction, do the operation, and turn back into a decimal if asked. This works for every operation (+, −, ×, ÷, square root). For sums and differences there is also a quick way, learned below.

The quick way: add the blocks

Let be the largest number of digits that come before the repeat in any of the decimals, and the LCM of all the block lengths. Cut every decimal in two: the first digits (the finite part) and the repeating block after it, stretched to digits (stretch the block 7 to two digits and it becomes 77). Adding all the finite parts is an ordinary decimal sum, and adding all the stretched blocks as numbers gives . The blocks together are worth ( nines). If reaches the number made of all those nines, the whole-number part of the quotient is added at the -th place and the remainder becomes the new block.

∑ Formula
Divide by ( nines): quotient and remainder
the sum of the stretched blocks (as numbers)
the LCM of the block lengths
whole units: add them at the -th decimal place
the remainder: this is the new block (written with digits, zeros in front)
◭ Diagram
wholefirst 2block1.23630.77772.0455S = 63 + 77 + 55 = 195195 = 99 × 1 + 961 unit moves left; 96 is the new block= 4.05 (96)
Adding three decimals (the first example below): the finite parts (blue) add as usual, the blocks (saffron) add as numbers to give ;

Quick patterns (useful every time): ; (swapping the digits does not change the sum); ; . And when the value reaches 1 or more, such as .

CheckTry both ways: if the answers differ there is a mistake somewhere. In a multiple-choice question whose options are decimals the block method is quicker; for multiplication and division make fractions.

Steps (block method for sums)

  1. In each decimal note the digits before the repeat and the block; find (most digits before) and (LCM of block lengths).
  2. Write every decimal as its first digits (finite part) followed by a block of digits.
  3. Add the whole parts and the finite parts; add the -digit blocks as numbers to get .
  4. See how many times goes into () and add it at the -th place; the remainder is the new block. (If the remainder is 0 the answer terminates.)
Example 36 · Standard
Find as a recurring decimal.
Solution, step by step
  1. 1Digits before the repeat: 1, 0, 2 ⟹ . Block lengths 2, 1, 1 ⟹ .
  2. 2Write each decimal as “ digits | block of digits”: ; ; (the block 7 stretched to 77, 5 to 55).
  3. 3Finite parts: . Blocks as numbers: .
  4. 4 goes into once (), with remainder . Add at the second decimal place: .
  5. 5Answer: . Check (with fractions): the sum ✓
Answer
The “overflow” of the blocks is added to the finite part afterwards — this is where mistakes usually happen.
Example 37 · Basic
Find the value of .
Solution, step by step
  1. 1Both blocks have 2 digits and nothing comes before them ⟹ , .
  2. 2Add the blocks: .
  3. 3 goes in once () with remainder . This is added at the whole-number place (, i.e. before the point).
  4. 4Sum . With fractions: ✓ (pattern: ).
Answer
When the block sum is 99 the whole-number part of the answer rises.
Example 38 · Standard
Find (a) and (b) .
Solution, step by step
  1. 1For multiplication and division making fractions is the right way. and .
  2. 2(a) (because ).
  3. 3(b) and . Dividing means multiplying by the reciprocal: .
  4. 4Simplify: .
Answer (a) ; (b) 5.5
The block trick does not work for multiplication and division — make fractions.
BasicTry it yourself first
What is the value of ?
BasicTry it yourself first
What is the value of ?
StandardTry it yourself first
What is the value of ?
StandardTry it yourself first
What is the value of ?
StandardTry it yourself first
Find the cube root of .
StandardTry it yourself first
If , what is the value of ?
AdvancedTry it yourself first
Find the value of .
AdvancedTry it yourself first
What is the value of ?

Comparing, ordering and the -th digit

the first difference decides ·

Comparing recurring decimals, the digit at the -th place and the sum of the first digits.

Comparing

Comparing two decimals is just like ordering words in a dictionary: first the whole part, then go place by place from the first decimal place and find the first place where the digits differ — that settles it. But for recurring decimals the digits have to be written out, so write both out to enough places for the difference to show. Example: and : the first three digits agree and the fourth is 3 against 6 — so is bigger.

◭ Diagram
A0.63636363…B0.63666666…first difference: place 4
The digits of and side by side: the first difference (rose) is at the fourth place — 3 against 6 there, so is bigger
TrickA direct rule: a recurring decimal (like ) is always bigger than its chopped finite form (, ), because more is still to be added after the cut. To compare with a fraction, write the fraction as a decimal and look at a few digits, or bring both to a common denominator.

The -th digit and the sum of digits

Say the decimal has digits before the repeat and a block of digits. If the -th digit comes straight from the first digits. Otherwise look into the block: drop the digits before the repeat (leaving ), divide by and take the remainder. If the remainder it is the -th digit of the block; if the remainder is 0 it is the last (-th) digit of the block.

∑ Formula
for ; if the remainder is 0, the last (-th) digit of the block
place after the decimal point
number of digits before the repeat
number of digits in the block

The sum of the first digits: the sum of the first digits (number of complete blocks the digit-sum of one block) (the sum of the leftover digits, which are the opening digits of the block). The number of complete blocks is .

Steps

  1. Write the decimal and identify (before the repeat) and (the block).
  2. For comparing: write both digit strings side by side and find the first different digit.
  3. For the -th digit: ; for the sum: count the complete blocks and the leftover digits separately.
Example 39 · Standard
Arrange in descending order.
Solution, step by step
  1. 1Write the first 6 decimal digits of all four: , , , .
  2. 2The first digit is 6 in all. The second digit: 3, 3, 6, 3 — so (second digit 6) is the biggest.
  3. 3Among the other three the third digit: , , — is the smallest.
  4. 4Between and the fourth digit: 3 against 6 — is bigger.
  5. 5Descending order: .
Answer
In a digit-by-digit comparison the first differing digit decides everything; later digits are never looked at.
Example 40 · Basic
For find (a) the 100th digit after the point and (b) the sum of the first 50 digits.
Solution, step by step
  1. 1No digit before the repeat () and the block has digits.
  2. 2(a) remainder 4. The remainder is 4, so the 100th digit is the fourth digit of the block: ⟹ 6.
  3. 3(b) The digit-sum of one block is .
  4. 4 remainder 2: 8 complete blocks and 2 leftover digits (3 and 8). Sum .
Answer (a) 6; (b) 227
If the remainder is 0 take the last digit of the block, not the first.
Example 41 · Advanced
For find (a) the 75th digit and (b) the sum of the first 40 digits.
Solution, step by step
  1. 1Two digits before the repeat (2, 8): ; the block is a single digit (3): .
  2. 2(a) , so in the block: — remainder 0 means the last digit of the block, which is 3. The 75th digit is 3.
  3. 3(b) The first 2 digits add to . The remaining places are all 3: .
  4. 4Sum .
Answer (a) 3; (b) 124
In a mixed recurring decimal count the first digits separately, then do the block arithmetic.
BasicTry it yourself first
Which is the largest of ?
BasicTry it yourself first
Which is the smallest of ?
StandardTry it yourself first
What is the 50th digit of ?
StandardTry it yourself first
What is the sum of the first 30 digits of ?
StandardTry it yourself first
What is the 41st digit of the decimal of ?
AdvancedTry it yourself first
How many times does the digit 8 appear among the first 75 digits of ?
AdvancedTry it yourself first
Arrange in ascending order.
AdvancedTry it yourself first
What is the sum of the first 100 digits of ?
4

Summary, mixed practice, revision

All methods in one place

One table of all methods, exam-style mixed questions and revision cards.

Summary of all methods

Which method when

One page to pick the method as soon as you read a question.

MethodUse whenKey formula / move
Prime factorisationthe first move of any factor questiondivide by the smallest prime; try up to ; sum of powers = prime factors
Number of factors“how many factors”
Sum, product, sum of reciprocals“of all the factors”; ;
Even, odd, multiples, square factorsany condition on the factorscount the allowed powers of each prime; multiples of :
Perfect squares and pairs“in how many ways as a product”, “make a square/cube”, , ; complete the incomplete powers
Zeros: pairs of 2 and 5zeros at the end of a product
and Legendrepower of a prime or a composite in
Reverse questionzeros given, asked, test multiples of 5; 5, 11, 17, 23 never occur
Series productsconsecutive, multiples, odd, with powers, factorials; ; count both 2s and 5s
Terminating or recurringthe decimal form of a fractiononly 2, 5 in the denominator ⟹ terminating ( places)
Decimal → fractiona recurring decimal is given(all digits − digits before) ÷ ( nines, zeros)
Operations on recurring decimalssums, products, rootsmake fractions; for sums stretch blocks to and add
Comparing and the -th digitorder, “the -th digit”, sum of digitsfirst differing digit;

Letters in the table: = the given number; = powers of primes; = number of factors; = their sum; = number of different primes (in pairs) or the digits before the repeat (in decimals); = total powers of 2 and 5; = the of , = a prime; = digits in the block; = LCM of the block lengths; = a factor whose multiples are to be counted.

Spot itAs soon as you read a question ask: (1) is it factors, zeros or decimals? (2) for factors — write the prime factorisation. (3) for zeros — the powers of 2 and 5. (4) for decimals — which prime other than 2, 5 is in the denominator?

Mixed practice — set 1

Basic to standard

Mixed questions from all three parts; spot the method first, then solve.

These questions are not in method order — just like the exam. For each, first decide which method fits.

BasicTry it yourself first
How many factors does 1584 have?
BasicTry it yourself first
What is the sum of all the factors of ?
BasicTry it yourself first
Which of 1296, 1350, 1458, 1500 has an odd number of factors?
BasicTry it yourself first
How many zeros are at the end of ?
BasicTry it yourself first
How many zeros are at the end of ?
BasicTry it yourself first
What is the highest power of 5 in ?
BasicTry it yourself first
What is the simplest fraction for ?
BasicTry it yourself first
What is the simplest fraction for ?
StandardTry it yourself first
Which of these fractions is a terminating decimal?
StandardTry it yourself first
What is the value of ?
StandardTry it yourself first
Which is the largest of ?
StandardTry it yourself first
What is the 40th digit of ?
StandardTry it yourself first
How many prime factors (counting repeats) does have?
StandardTry it yourself first
How many factors of are even?
StandardTry it yourself first
In how many ways can 1764 be written as a product of two factors (order not counted, equal factors allowed)?
StandardTry it yourself first
Find the smallest for which has at least 8 trailing zeros.

Mixed practice — set 2

Standard to advanced

Mixed questions from the hard end of the exam.

Several questions here need two methods together. Do not look for a method name; decide from how the question looks.

StandardTry it yourself first
What is the smallest number with exactly 14 factors?
StandardTry it yourself first
What is the sum of all the odd factors of ?
StandardTry it yourself first
How many factors of are perfect cubes?
AdvancedTry it yourself first
In how many ways can 30030 be written as a product of two co-prime factors (order not counted)?
AdvancedTry it yourself first
By what smallest number must 2058 be multiplied to make a perfect cube?
StandardTry it yourself first
How many zeros are at the end of ?
StandardTry it yourself first
How many zeros are at the end of ?
AdvancedTry it yourself first
Find the largest for which divides .
AdvancedTry it yourself first
How many zeros are at the end of (the first 20 multiples of 35)?
StandardTry it yourself first
What is the value of ?
StandardTry it yourself first
Write as an improper fraction.
StandardTry it yourself first
Convert into a fraction in lowest terms.
AdvancedTry it yourself first
Find as a recurring decimal.
AdvancedTry it yourself first
What is the 87th digit of ?
AdvancedTry it yourself first
For how many integers from to is a terminating decimal?
AdvancedTry it yourself first
What is the sum of the first 61 digits of ?

Revision — cards and traps

Flip and recall

Read the front, think, then flip.

TrapsMost common traps: (1) not adding 1 to the powers when counting factors. (2) misjudging . (3) forgetting the two 5s of numbers like 25 in . (4) deciding terminating/recurring without first reducing. (5) in a product of a series, counting only the 5s and forgetting to look at the 2s.