Advanced Higher Maths: Number Theory

Course content

  • Using Euclid's algorithm to find the greatest common divisor of two positive integers
  • Expressing the greatest common divisor of two positive integers as a linear combination of the two
  • Converting integers between bases
  • Knowing and using the fundamental theorem of arithmetic (unique factorisation theorem).

Textbook page references

Find a Maths tutor

Need a tutor for Advanced Higher Maths?
Click here to find a tutor in your area. 

×

Example 1 (non-calculator)

Use the Euclidean algorithm to find the greatest common divisor of \(98\) and \(35\small.\)

Example 2 (calculator)

Use Euclid's algorithm to find the highest common factor of \(714\) and \(221\small.\)

Example 3 (calculator)

Find integers \(a\) and \(b\) such that \(319a+132b=11\small.\)

Example 4 (calculator)

Show that the greatest common divisor of \(133\) and \(612\) is \(1\small.\) Hence find \(x\small,\,\normalsize y\in\mathbb Z\) such that \(133x+612y=1\small.\)

Recommended student books

Leckie: Advanced Higher Maths book 
Hodder: 'How to Pass' revision book 

Example 5 (calculator)

Convert the decimal number \(3508\) into base \(7\small.\)

Example 6 (calculator)

Use the division algorithm to convert \(7054_{9}\) into base \(8\small.\)

Example 7 (calculator)

SQA Advanced Higher Maths 2023 Paper 2 Q6

(a)  Use the Euclidean algorithm to find \(d\small,\) the greatest common divisor of \(703\) and \(399\small.\)
(b)  Find integers \(a\) and \(b\) such that \(d=703a+399b\small.\)
(c)  Hence find integers \(p\) and \(q\) such that \(76=703p+399q\small.\)

Need an Advanced Higher Maths tutor?

Just use this handy little widget and our partner Bark.com will help you find one.

Past paper questions

Euclidean algorithm:
2016 Specimen Paper Q4
2017 Paper Q8 (solution)
2018 Paper Q5 (solution)
Number bases:
2019 Paper Q12 (solution)

Other great resources

Notes - Auchmuty High School
Notes - St Machar Academy
Notes and exercises
- St Andrew's Academy
Notes - Hyndland Secondary School
Lesson notes - Maths 777
1. Euclidean algorithm and GCD
2. Number bases
Videos - Mr Thomas Maths
Videos - St Andrew's Academy
Notes and examples - Maths Mutt
Worksheet - Dunblane High School

⇦ AH topic list  ⇧ Top of this page