ExamShortcut

Number System

Log in to track
high importance~2 Q in Tier 135 formulas⚡ 18 shortcuts6 subtopics

Every formula in this topic, grouped by subtopic.

Number types, place value & counting

Multiples of k up to n
\left\lfloor \dfrac{n}{k} \right\rfloor
Multiples of k from a to b
\left\lfloor \dfrac{b}{k} \right\rfloor - \left\lfloor \dfrac{a-1}{k} \right\rfloor
Inclusion-exclusion
n(A \cup B) = n(A) + n(B) - n(A \cap B)

the overlap holds multiples of the LCM

Sum of first n natural numbers
\dfrac{n(n+1)}{2}
Sum of squares
1^2 + 2^2 + \cdots + n^2 = \dfrac{n(n+1)(2n+1)}{6}
Sum of cubes
1^3 + 2^3 + \cdots + n^3 = \left[\dfrac{n(n+1)}{2}\right]^2
First n odd or even numbers
1 + 3 + \cdots + (2n-1) = n^2, \quad 2 + 4 + \cdots + 2n = n(n+1)
Any arithmetic series
S = \dfrac{n}{2}(a + l)

terms times average of first and last

Digit reversal
(10a + b) - (10b + a) = 9(a - b), \quad (10a + b) + (10b + a) = 11(a + b)

Divisibility rules

Divisibility by 11
\left(\sum \text{odd-place digits}\right) - \left(\sum \text{even-place digits}\right) \in \{0, \pm 11, \pm 22, \ldots\}
Composite divisor
pq \mid N \iff p \mid N \text{ and } q \mid N, \quad \gcd(p, q) = 1

split into co-prime parts only

Difference of powers
(a - b) \mid (a^n - b^n) \text{ for all } n
Difference of even powers
(a + b) \mid (a^n - b^n) \text{ when } n \text{ is even}
Sum of odd powers
(a + b) \mid (a^n + b^n) \text{ when } n \text{ is odd}
Repeated block
\overline{abcabc} = \overline{abc} \times 1001 = \overline{abc} \times 7 \times 11 \times 13
Divisibility by seven
N \to \left\lfloor \dfrac{N}{10} \right\rfloor - 2 \times (N \bmod 10)

repeat until small

Remainders & remainder theorem

Division algorithm
N = d \times q + r, \quad 0 \le r < d
Product rule
\mathrm{rem}\left(\dfrac{a \times b}{d}\right) = \mathrm{rem}\left(\dfrac{R_a \times R_b}{d}\right)

same for sums

Fermat's little theorem
a^{p-1} \equiv 1 \pmod{p}, \quad p \text{ prime}, \ \gcd(a, p) = 1
Divisor-multiple rule
N \equiv r \pmod{D},\ d \mid D \ \Rightarrow\ N \equiv r \pmod{d}

one-way rule

Base one more than divisor
(ad + 1)^n \equiv 1 \pmod{d}
Base one less than divisor
(ad - 1)^n \equiv (-1)^n \pmod{d}

1 if n even, d - 1 if n odd

Unit digit & cyclicity

Cyclicity rule
\text{unit}(a^n) = \text{unit}(a^r), \quad r = n \bmod 4 \ (r = 0 \Rightarrow r = 4)
Cycles of two, three, seven, eight
2: 2,4,8,6 \quad 3: 3,9,7,1 \quad 7: 7,9,3,1 \quad 8: 8,4,2,6
Factorials
n! \equiv 0 \pmod{10} \text{ for } n \ge 5
Last two digits, base ending in one
(10a + 1)^n \text{ ends in } \left[(a \cdot n) \bmod 10\right] 1

Factors, prime factorisation & trailing zeros

Number of factors
d(N) = (a + 1)(b + 1)(c + 1)
Sum of factors
\sigma(N) = (1 + p + \cdots + p^a)(1 + q + \cdots + q^b) \cdots
Even factors
a \times (b + 1)(c + 1)

when 2 has exponent a

Product of all factors
N^{d(N)/2}
Trailing zeros in n factorial
\left\lfloor \dfrac{n}{5} \right\rfloor + \left\lfloor \dfrac{n}{25} \right\rfloor + \left\lfloor \dfrac{n}{125} \right\rfloor + \cdots
Highest power of a prime in n factorial
\sum_{k \ge 1} \left\lfloor \dfrac{n}{p^k} \right\rfloor

Fractions, decimals & recurring decimals

Pure repeating decimal
0.\overline{ab} = \dfrac{ab}{99}
Mixed repeating decimal
0.a\overline{bc} = \dfrac{abc - a}{990}
Terminating test
\dfrac{p}{q} \text{ terminates} \iff q = 2^m \times 5^n

q in lowest terms

How these Number System formulas are used

The cards above hold 35 formulas across 6 subtopics: Number types, place value & counting (9), Divisibility rules (7), Remainders & remainder theorem (6), Unit digit & cyclicity (4), Factors, prime factorisation & trailing zeros (6) and Fractions, decimals & recurring decimals (3). Of the 36 recurring question types catalogued for this topic, 31 are solved directly from a formula; the rest need a method or a table rather than a single relation. A formula sheet only helps when you know which words in a question call for which formula, so the section below pairs each subtopic with the question types that use its formulas, a worked case taken from the lessons, and a note on when to apply it.

Jump to: Number types, place value & counting · Divisibility rules · Remainders & remainder theorem · Unit digit & cyclicity · Factors, prime factorisation & trailing zeros · Fractions, decimals & recurring decimals

Formulas in action

For each subtopic: what it deals with, when the formula applies, and a worked example from our lessons.

Number types, place value & counting

9 formulas on this page

Numbers come in families: natural, whole, integers, rational and irrational. A prime has exactly two factors, and co-prime numbers share only the factor 1. This subtopic also covers place value, counting multiples in a range, sums of standard series, and reversed two-digit numbers.

Counting numbers divisible by k in a range · asked very common

Use it when: A range is given and the question asks how many numbers in it are divisible by one or two given numbers. Words like and, or, neither or but not decide the method.

\left\lfloor \dfrac{b}{k} \right\rfloor - \left\lfloor \dfrac{a-1}{k} \right\rfloor
Worked example

How many numbers from 1 to 300 are divisible by 4 or 6?

  1. By 4: 300÷4300 \div 4 gives 75. By 6: 300÷6300 \div 6 gives 50.

  2. Both: multiples of LCM(4,6)=12\mathrm{LCM}(4, 6) = 12, and 300÷12=25300 \div 12 = 25.

  3. 75+50−25=10075 + 50 - 25 = 100.

Answer:

100

Sum of a series or of multiples in a range · asked very common

Use it when: The question asks for a sum: all two-digit multiples of a number, squares from one point to another, or the first n odd numbers.

S = \dfrac{n}{2}(a + l), \quad n = \dfrac{l - a}{d} + 1
Worked example

Find the sum of all two-digit multiples of 7.

  1. First two-digit multiple: 1414. Last: 9898.

  2. Count: 98−147+1=13\dfrac{98 - 14}{7} + 1 = 13 terms.

  3. Sum =13×(14+98)2=13×56=728= \dfrac{13 \times (14 + 98)}{2} = 13 \times 56 = 728.

Answer:

728

Full lesson: Number types, place value & counting →

Divisibility rules

7 formulas on this page

A number is divisible by d when d divides it with remainder 0. Quick tests exist for 2, 3, 4, 5, 8, 9, 10 and 11, and composite divisors split into co-prime parts. Powers follow their own rules: a to the n minus b to the n is always divisible by a minus b.

Missing digits for a composite divisor · asked very common

Use it when: A number with blanks x and y is said to be divisible by 72, 88, 99 or 36, and the options are values of x + y or x - y.

72 = 8 \times 9,\quad 88 = 8 \times 11,\quad 99 = 9 \times 11
Worked example

If the five-digit number 6x8y4 is divisible by 72, find x + y.

  1. 72=8×972 = 8 \times 9. Rule of 88: the last three digits 8y48y4 must divide by 88.

  2. 824=8×103824 = 8 \times 103 and 864=8×108864 = 8 \times 108, so y=2y = 2 or y=6y = 6.

  3. Rule of 99: digit sum 6+x+8+y+4=18+x+y6 + x + 8 + y + 4 = 18 + x + y must divide by 99.

  4. y=2y = 2 forces x=7x = 7; y=6y = 6 forces x=3x = 3. Both give x+y=9x + y = 9.

Answer:

9

Divisibility by 11 with a missing digit · asked very common

Use it when: A number like 7x2859 is divisible by 11 and one digit is hidden, or the options are numbers to pick from.

(\text{odd-place sum}) - (\text{even-place sum}) \in \{0, \pm 11, \pm 22, \ldots\}
Worked example

If the number 7x2859 is divisible by 11, find x.

  1. From the right, odd places: 9+8+x=17+x9 + 8 + x = 17 + x. Even places: 5+2+7=145 + 2 + 7 = 14.

  2. Difference: (17+x)−14=3+x(17 + x) - 14 = 3 + x must be 00 or 1111.

  3. 3+x=113 + x = 11 gives x=8x = 8. Check: 782859=11×71169782859 = 11 \times 71169.

Answer:

8

Full lesson: Divisibility rules →

Remainders & remainder theorem

6 formulas on this page

Every division obeys one formula: dividend = divisor x quotient + remainder, with the remainder smaller than the divisor. Remainders of sums and products can be found from the individual remainders, and big powers repeat in cycles.

Remainder with a factor of the old divisor · asked very common

Use it when: A number leaves a remainder with a big divisor, and the question asks for the remainder with a smaller number that divides that divisor.

N = Dq + r,\ d \mid D \ \Rightarrow\ N \bmod d = r \bmod d
Worked example

A number leaves remainder 47 when divided by 342. What is the remainder when it is divided by 19?

  1. 342=18×19342 = 18 \times 19, so 1919 is a factor of 342342.

  2. Reduce the old remainder: 47 mod 1947 \bmod 19.

  3. 47=2×19+947 = 2 \times 19 + 9, so the remainder is 99.

Answer:

9

Remainder of a product or sum · asked very common

Use it when: Several large numbers are multiplied or added and the remainder with a modest divisor is asked.

(a \times b) \bmod d = [(a \bmod d) \times (b \bmod d)] \bmod d
Worked example

Find the remainder when 98 x 97 x 96 is divided by 99.

  1. Remainders with 9999: 98→−198 \to -1, 97→−297 \to -2, 96→−396 \to -3.

  2. (−1)(−2)(−3)=−6(-1)(-2)(-3) = -6.

  3. Add the divisor: 99−6=9399 - 6 = 93.

Answer:

93

Full lesson: Remainders & remainder theorem →

Unit digit & cyclicity

4 formulas on this page

The unit digit of a power depends only on the unit digit of the base and on the exponent's remainder when divided by four. Unit digits of powers repeat in short cycles, so huge expressions collapse to one digit in seconds.

Unit digit of a power or a product of powers · asked very common

Use it when: The question asks for the unit digit of one big power or of a product of two or three powers.

\text{unit}(a^n) = \text{unit}\left(a^{\,n \bmod 4}\right)
Worked example

Find the unit digit of 4 to the power 63 x 9 to the power 72 x 8 to the power 41.

  1. 4634^{63}: odd power of 44 gives 44. 9729^{72}: even power of 99 gives 11.

  2. 8418^{41}: 41 mod 4=141 \bmod 4 = 1, cycle of 88 starts at 88.

  3. 4×1×8=324 \times 1 \times 8 = 32: unit digit 22.

Answer:

2

Power towers · asked occasionally

Use it when: The exponent is itself a power, as in 7 to the power 21 to the power 20.

a^{b^c}: \text{reduce } b^c \bmod 4 \text{ first}
Worked example

Find the unit digit of 7 to the power 21 to the power 20.

  1. 21≡1(mod4)21 \equiv 1 \pmod 4, so 2120≡1(mod4)21^{20} \equiv 1 \pmod 4.

  2. Use 717^1.

  3. Unit digit 77.

Answer:

7

Full lesson: Unit digit & cyclicity →

Factors, prime factorisation & trailing zeros

6 formulas on this page

Write N as a product of primes, N = p to the a times q to the b times r to the c. The number of factors is (a+1)(b+1)(c+1), the sum of factors comes from bracket products, and trailing zeros of a factorial come from counting fives.

Number of factors: total, odd, even · asked very common

Use it when: The question asks how many factors or divisors a number has, or how many of them are odd or even.

N = p^a q^b r^c \ \Rightarrow\ d(N) = (a + 1)(b + 1)(c + 1)
Worked example

How many factors does 420 have?

  1. 420=22×3×5×7420 = 2^2 \times 3 \times 5 \times 7.

  2. Total: (2+1)(1+1)(1+1)(1+1)=3×2×2×2(2+1)(1+1)(1+1)(1+1) = 3 \times 2 \times 2 \times 2.

  3. =24= 24 factors.

Answer:

24

Trailing zeros in a factorial or product · asked very common

Use it when: The question asks how many zeros end a factorial like 90!, or end a written-out product.

Z(n!) = \left\lfloor \dfrac{n}{5} \right\rfloor + \left\lfloor \dfrac{n}{25} \right\rfloor + \cdots
Worked example

How many zeros are at the end of 90 factorial?

  1. 90÷5=1890 \div 5 = 18.

  2. 18÷5=318 \div 5 = 3.

  3. Zeros: 18+3=2118 + 3 = 21.

Answer:

21

Full lesson: Factors, prime factorisation & trailing zeros →

Fractions, decimals & recurring decimals

3 formulas on this page

A fraction compares a part with the whole; a decimal writes the same idea in place value. Every terminating or repeating decimal is a fraction in disguise, and converting between the two forms follows two fixed rules.

Mixed repeating decimal to fraction · asked very common

Use it when: A decimal with some non-repeating digits and then a repeating block must be written as a fraction.

0.a\overline{bc} = \dfrac{abc - a}{990}
Worked example

Convert 0.53 repeating on the 3 into a fraction.

  1. Non-repeating: 55 (one digit). Repeating: 33 (one digit).

  2. Numerator: 53−5=4853 - 5 = 48. Denominator: 9090.

  3. 4890=815\dfrac{48}{90} = \dfrac{8}{15}.

Answer:

8/15

Comparing fractions · asked very common

Use it when: The question asks which fraction is greater, or to arrange fractions in order.

\dfrac{a}{b} > \dfrac{c}{d} \iff ad > bc
Worked example

Which is greater: 8/13 or 13/21?

  1. Cross-multiply: 8×21=1688 \times 21 = 168.

  2. 13×13=16913 \times 13 = 169.

  3. 169>168169 > 168, so 1321\dfrac{13}{21} is greater.

Answer:

13/21

Full lesson: Fractions, decimals & recurring decimals →

Common mistakes when applying Number System formulas

Knowing a formula and applying it correctly are different skills. These are the slips flagged in the lessons.

  • Number types, place value & counting

    Common slip: Counting the end points when the question says between.

    Instead: Between 1 and 100 means 2 to 99. From 1 to 100 includes both ends.

  • Divisibility rules

    Common slip: Splitting a composite divisor into parts that share a factor, like 12 = 2 x 6.

    Instead: Use co-prime parts only: 12 = 3 x 4. A number can pass 2 and 6 yet fail 12.

  • Remainders & remainder theorem

    Common slip: Leaving a negative remainder as the final answer.

    Instead: Add the divisor once (or twice) until the remainder is between 0 and d - 1.

  • Unit digit & cyclicity

    Common slip: Treating an exponent remainder of 0 as power 0.

    Instead: Remainder 0 means use the fourth power of the cycle, not power 1.

  • Factors, prime factorisation & trailing zeros

    Common slip: Counting only n/5 for trailing zeros.

    Instead: Add the extra fives from 25, 125 and higher powers of 5 as well.

  • Fractions, decimals & recurring decimals

    Common slip: 0.2\overline{45} = 245/999.

    Instead: Mixed repeat subtracts: (245 - 2)/990 = 27/110.

  • Number types, place value & counting

    Common slip: Treating 1 as a prime number.

    Instead: 1 is neither prime nor composite, and 2 is the only even prime.

  • Divisibility rules

    Common slip: Checking only the last two digits for divisibility by 8.

    Instead: The rule of 8 needs the last three digits.

How to memorise this sheet

Cover the right-hand side of each formula and reproduce it from its name, then check. A formula you can only recognise on the page will not come back under exam pressure. For each one, also say aloud which words in a question should make you reach for it.

With 35 formulas, do not try to learn them in one sitting. Take one subtopic at a time, test yourself the next day, then again after a few days; the revision planner can schedule those repeats.

Put them to use: read the lessons, work through the 5 solved examples and then take the 97-question practice test. The combined sheet for every topic is on the all-topics formula sheet.