HCF and LCM: past-paper questions with worked solutions
Think you’ve got HCF and LCM? Prove it.

Go on. I’ll mark it.
All 115 questions, with worked solutions
115 real exam questions on hcf and lcm from 0580, 4MA1, 4024, each with a full worked solution.
New to this? Read the free lesson on hcf and lcm first →
القاسم المشترك الأكبر والمضاعف المشترك الأصغر: الأسئلة بالشرح العربي
Cambridge IGCSE Mathematics (0580)
- 0580/32 Feb/Mar 2026 Q23 · 3 marksTwo buses leave a station at 08 00 and return every 34 minutes and every 30 minutes; find the first time both are back together.
- 0580/11 May/Jun 2026 Q16 · 3 marksBuses to Alve leave every 16 minutes and to Riba every 28 minutes, with both departing together at 08 25. Find the next time both buses leave together.
- 0580/13 May/Jun 2026 Q19 · 4 marksWork with prime factorisations of 84 and 96, finding the exponent P and then the LCM of the two numbers as a product of primes.
- 0580/21 May/Jun 2026 Q10 · 3 marksUse given prime factorisations of 24 192 and 245 000 to find their HCF, then express 20k² in prime factor form in terms of prime c.
- 0580/22 May/Jun 2026 Q9 · 6 marksWork with prime factors of 63 and 42 to find an LCM, and find the HCF of two algebraic terms.
- 0580/23 May/Jun 2026 Q6 · 3 marksRed flashes every 20 minutes and blue every 35 minutes; both flash together at 10 00. Find the next time they flash together.
- 0580/32 May/Jun 2026 Q22 · 2 marksFind the lowest common multiple of 54 and 90.
- 0580/11 May/Jun 2025 Q22 · 3 marksGiven A = 2³ × 3 and B = 3² × 5, find the HCF and LCM of the two numbers.
- 0580/12 May/Jun 2025 Q18 · 2 marksFind the highest common factor of 66 and 110.
- 0580/13 May/Jun 2025 Q20 · 2 marksFind the highest common factor of 36 and 54.
- 0580/23 May/Jun 2025 Q8 · 4 marksWrite 42 as a product of primes, then find the highest common factor of 84 and 70.
- 0580/23 May/Jun 2025 Q14 · 2 marksFind the lowest common multiple of the algebraic terms 15xy³ and 18x⁴y.
- 0580/31 Oct/Nov 2025 Q22 · 5 marksFind when trains leaving every 20 and 35 minutes from 09 30 next depart together, and give the range of a 97 km distance rounded to the nearest km.
- 0580/33 Oct/Nov 2025 Q25 · 2 marksFind the lowest common multiple of 20 and 36.
- 0580/12 Feb/Mar 2024 Q25 · 2 marksFind two numbers greater than 6 whose HCF is 6 and LCM is 90.
- 0580/32 May/Jun 2024 Q1 · 10 marksFrom a given list of numbers, identify a factor of 21, a square number and a prime number; then evaluate several numerical expressions, insert brackets to make an equation true, and find the LCM of 30 and 68.
- 0580/33 May/Jun 2024 Q4 · 11 marksAnswer nine short number questions covering place value, factors, primes, roots, multiples, reciprocals, fractions, irrational numbers and HCF.
- 0580/32 Oct/Nov 2024 Q2 · 17 marksFrom a list of numbers, identify odd, factor of 28, square, prime, and multiple of 9; then evaluate powers, prime factorisation, cube root, estimation, standard form, and a lap timing problem.
- 0580/33 Oct/Nov 2024 Q2 · 15 marksAnswer a set of short number and algebra questions: writing a large number in words, ordering values, powers and roots, solving an equation, estimating a calculation, index laws, and a timetable problem.
- 0580/41 Oct/Nov 2024 Q1 · 19 marksAnswer a set of number and algebra questions: prime factorisation, HCF and LCM, simplifying expressions, solving two equations, and evaluating and rearranging a formula.
- 0580/12 May/Jun 2023 Q20 · 3 marksBuses to the port leave every 28 minutes and to the town every 48 minutes, with both leaving together at 10 18. Find the next time both leave together.
- 0580/13 May/Jun 2023 Q17 · 2 marksFind the highest common factor of 32 and 120.
- 0580/31 May/Jun 2023 Q1 · 14 marksAnswer a set of short number questions covering place value, roots, reciprocals, powers, signed arithmetic, order of operations, irrational numbers, and LCM/HCF.
- 0580/33 May/Jun 2023 Q2 · 17 marksWork through shop pricing problems: totals, discounts, price rises, delivery charges, bottle purchases, egg packing, and comparing juice bottle value.
- 0580/11 Oct/Nov 2023 Q15 · 2 marksFind the highest common factor of 140 and 126.
- 0580/12 Oct/Nov 2023 Q23 · 3 marksTwo bells ring at intervals of 22 and 14 minutes, both ringing at 09 00. Find the next time they ring together.
- 0580/13 Oct/Nov 2023 Q22 · 2 marksFind the highest common factor of 48 and 80.
- 0580/22 Oct/Nov 2023 Q16 · 2 marksFind the lowest common multiple of the two terms 12x⁸ and 8x¹².
- 0580/33 Oct/Nov 2023 Q3 · 14 marksHandle Aneel's tea supplies, a ratio share, powers, simplifying, LCM from prime factors and spotting the irrational number.
- 0580/12 Feb/Mar 2022 Q24 · 2 marksFind two whole numbers above 6 whose LCM is 90 and HCF is 6.
- 0580/12 May/Jun 2022 Q21 · 2 marksFind the lowest common multiple of 24 and 28.
- 0580/13 May/Jun 2022 Q18 · 2 marksFind the lowest common multiple of 32 and 40.
- 0580/23 May/Jun 2022 Q12 · 4 marksGiven f divides both 14 and 28, m is a shared multiple of 10 and 25, and p is prime, determine the greatest value of f divided by (m times p).
- 0580/31 May/Jun 2022 Q1 · 15 marksAnswer a set of short number questions covering place value, rounding, order of operations, factors, cubes, primes, roots, reciprocals, indices, prime factorisation, LCM and error intervals.
- 0580/42 May/Jun 2022 Q1 · 10 marksFive unrelated calculations: find an LCM, divide money in a three-part ratio, evaluate a division of numbers in standard form, convert a recurring decimal to a fraction, and calculate a density with units.
- 0580/13 Oct/Nov 2022 Q22 · 4 marksUse the prime factor form 120 = 2ᵐ × 3 × 5 to find m, then find when two lights with periods 120 s and 144 s next turn red together after 10 00.
- 0580/23 Oct/Nov 2022 Q7 · 2 marksFind the lowest common multiple of 36 and 60.
- 0580/31 Oct/Nov 2022 Q4 · 12 marksFind numbers with given properties, compute fractions, roots and powers, solve a car-hire cost for days, and find when two trains next depart together.
- 0580/32 Oct/Nov 2022 Q1 · 15 marksFrom a given list pick numbers meeting five properties, round 0.003857 two ways, compute compound interest on $16000 at 3.8% for 5 years, factorise 48, find LCM of 48 and 126, and give bounds for m = 28.5 tonnes.
- 0580/12 Feb/Mar 2021 Q15 · 2 marksFind the lowest common multiple of 18 and 21.
- 0580/22 Feb/Mar 2021 Q11 · 2 marksFind the highest common factor of 36 and 84.
- 0580/12 May/Jun 2021 Q23 · 2 marksFind the lowest common multiple of 24 and 54.
- 0580/31 May/Jun 2021 Q7 · 19 marksWork with expressions for clock production by Martin, Suki and Pierre, a clock-face diagram, time conversions, a faulty clock, and two clocks checked on overlapping days in 2021.
- 0580/33 May/Jun 2021 Q5 · 14 marksAnswer a set of arithmetic questions: evaluate numerical expressions, insert brackets to make equations true, compare fractions, decimals and percentages, and work with prime factors, LCM and HCF.
- 0580/42 May/Jun 2021 Q3 · 20 marksWork through index laws, HCF and LCM with prime factors, a cube-number multiplier, two factorisations, and an equation linking x and y.
- 0580/32 Oct/Nov 2021 Q2 · 10 marksUsing the given list of numbers, identify specific types of numbers, express 420 in prime factor form, find the LCM of 30 and 84, and estimate a calculation by rounding each value to 1 significant figure.
- 0580/33 Oct/Nov 2021 Q7 · 11 marksNumber skills: write a number in figures, work out change from $5, evaluate a root and powers, find prime factors of 130, and use the LCM for two bells.
- 0580/11 May/Jun 2020 Q8 · 1 markFind the largest odd number that divides both 60 and 90 exactly.
- 0580/12 May/Jun 2020 Q22 · 6 marksAnswer three questions on factors: list those of 28, break 54 into primes, and find an LCM.
- 0580/21 May/Jun 2020 Q2 · 1 markFind the largest odd number that divides both 60 and 90.
- 0580/31 May/Jun 2020 Q5 · 13 marksAnswer a set of short number questions on multiples, primes, roots, powers, reciprocal, rounding, LCM and temperature changes.
- 0580/11 Oct/Nov 2020 Q13 · 5 marksWrite 18 as a product of primes, then find the next time two buses with 18 and 24 minute gaps meet.
- 0580/31 Oct/Nov 2020 Q5 · 13 marksAnswer a set of number questions on place value, roots, fractions, ordering, rounding, bounds, HCF and irrational numbers.
- 0580/33 Oct/Nov 2020 Q2 · 7 marksPick numbers between 55 and 85 meeting given conditions, then write 220 as a product of prime factors.
Pearson Edexcel International GCSE Mathematics A (4MA1)
- 4MA1/1FR Jun 2025 Q16 · 2 marksFind the lowest common multiple of 45 and 70.
- 4MA1/1HR Jun 2025 Q1 · 2 marksFind the lowest common multiple of 45 and 70.
- 4MA1/2F Nov 2025 Q16 · 2 marksFind the lowest common multiple of 24 and 56, showing working.
- 4MA1/1F Jun 2024 Q18 · 2 marksFind the highest common factor of 72 and 108, showing working clearly.
- 4MA1/1H Jun 2024 Q3 · 2 marksFind the highest common factor of 72 and 108, showing working.
- 4MA1/1HR Jun 2024 Q11 · 4 marksGiven A = 2⁵ × 5 × 7² and B = 2³ × 5³ × 7⁴, find the HCF of 5A and 2B, and the value of (AB)², both as products of prime factors.
- 4MA1/1F Nov 2024 Q23 · 2 marksFind the highest common factor of A, B and C, given as products of prime powers, and write it in prime-factor form.
- 4MA1/1H Nov 2024 Q6 · 2 marksFind the highest common factor of three numbers given as products of primes, and write it in prime form.
- 4MA1/1F Jan 2023 Q12 · 4 marksTwo-part arithmetic question: show a fraction subtraction equals 11/24, and find the HCF of 130 and 208 showing working.
- 4MA1/1FR Jan 2023 Q6 · 3 marksList every factor of 10, then find the lowest common multiple of 18 and 60.
- 4MA1/2FR Jan 2023 Q21 · 4 marksFind the HCF of 200 and 420, then find the LCM of A, B and C given as prime factor products, leaving the LCM in prime power form.
- 4MA1/2HR Jan 2023 Q7 · 4 marksFind the HCF of 200 and 420, then the LCM of three numbers given as prime-power products, in the same form.
- 4MA1/1F Jun 2023 Q23 · 4 marksWrite 300 as a product of primes, then use the given prime factorisations of A and B to find the LCM of 5A and 7B, showing working.
- 4MA1/1H Jun 2023 Q8 · 4 marksWrite 300 as a product of primes, then find the LCM of 5A and 7B, where A and B are given as prime products.
- 4MA1/2FR Jun 2023 Q17 · 4 marksSandeep buys packets of 9 pens at £7.60 and boxes of 12 pencils at £4.80, buying whole packets and boxes only. Find the least total cost when pen and pencil counts are equal.
- 4MA1/2HR Jun 2023 Q2 · 4 marksSandeep buys packets of 9 pens at £7.60 and boxes of 12 pencils at £4.80, wanting equal numbers of pens and pencils. Find the least he must pay.
- 4MA1/1F Nov 2023 Q21 · 2 marksGiven A = 5³ × 7³ × 11⁶ and B = 5⁶ × 7² × 11⁴, find their HCF as a product of prime powers.
- 4MA1/1H Nov 2023 Q7 · 2 marksFind the HCF of A = 5³ × 7³ × 11⁶ and B = 5⁶ × 7² × 11⁴, as prime powers.
- 4MA1/1FR Jan 2022 Q20 · 4 marksFind the LCM of 36 and 120, then use the prime factor forms of A and B with m > 2, n > 10, p > 1 to find their HCF as a product of prime powers.
- 4MA1/1HR Jan 2022 Q6 · 4 marksFind an LCM, then an HCF of two numbers written in prime-power form.
- 4MA1/2F Jan 2022 Q22 · 3 marksFind the lowest common multiple of 28, 42 and 63, showing working.
- 4MA1/2H Jan 2022 Q7 · 3 marksFind the lowest common multiple of 28, 42 and 63, showing your working clearly.
- 4MA1/1F Jun 2022 Q18 · 4 marksFind the highest common factor of 56 and 84, and the lowest common multiple of 60 and 72.
- 4MA1/1H Jun 2022 Q3 · 4 marksFind the HCF of 56 and 84, and the LCM of 60 and 72, showing working for each.
- 4MA1/1HR Jun 2022 Q12 · 3 marksGiven P = 3³ × 5² × 7 and Q = 3² × 5 × 7², find the HCF of P and Q, then express P³ × Q in the form 3ˣ × 5ʸ × 7ᶻ.
- 4MA1/1FR Jan 2021 Q24 · 4 marksGiven A and B as products of powers of 2, 3 and 11, find their HCF, and the LCM of 2A and 3B.
- 4MA1/1HR Jan 2021 Q9 · 4 marksGiven A = 2⁸ × 3⁵ × 11⁴ and B = 2⁶ × 3 × 11⁸, find the HCF of A and B, then the LCM of 2A and 3B as a product of prime powers.
- 4MA1/2F Jan 2021 Q23 · 2 marksGiven A = 2³ × 3² × 5² × 11 and B = 2⁴ × 3 × 5⁴ × 13, find the LCM of A and B as a product of prime powers.
- 4MA1/2H Jan 2021 Q9 · 2 marksFind the lowest common multiple of two numbers given as products of prime powers, and give it in the same form.
- 4MA1/1F Jun 2021 Q13 · 3 marksBuses to the hospital leave every 16 minutes and to the college every 20 minutes, both at 9 am. Find the next time a hospital bus and a college bus leave together.
- 4MA1/2F Nov 2021 Q13 · 3 marksTrains to New Delhi leave every 40 minutes and to Mumbai every 48 minutes, both at 6 am. Find the next time trains to both destinations depart Agra simultaneously.
- 4MA1/1F Jan 2020 Q15 · 4 marksFind the highest common factor of 28 and 70, then the lowest common multiple of 28 and 105.
- 4MA1/1H Jan 2020 Q2 · 2 marksFind the lowest common multiple of 28 and 105.
- 4MA1/1F Nov 2020 Q23 · 3 marksGiven A = 2 × 3⁴³ and B = 16 × 3³⁷, work with these two numbers in prime factor form to find their HCF and to write A × B using prime powers.
- 4MA1/1FR Nov 2020 Q14 · 2 marksFind the lowest common multiple of 20 and 35.
- 4MA1/1H Nov 2020 Q10 · 3 marksGiven A = 2 × 3⁴³ and B = 16 × 3³⁷, find their highest common factor and write A × B in prime powers.
- 4MA1/2F Nov 2020 Q12 · 3 marksList every whole number that divides 9 exactly, then work out the smallest number that both 15 and 70 divide into.
- 4MA1/2F Jan 2019 Q20 · 4 marksFind the HCF of 96 and 120, then the LCM of three numbers given as prime-power products.
- 4MA1/2H Jan 2019 Q6 · 4 marksFind the HCF of 96 and 120, then use the prime factor forms of A, B and C to find their LCM.
- 4MA1/1F Jun 2019 Q14 · 4 marksWork with the numbers 40 and 64 and the expression A = 2ⁿ × 3 × 5ᵐ, finding a shared factor and rewriting 8A in prime-power form.
- 4MA1/1FR Jun 2019 Q18 · 5 marksWork with the numbers 21, 35 and 720: find their shared factor, break 720 into primes, and find a multiplier making a square.
- 4MA1/2FR Jun 2019 Q23 · 4 marksGiven A = 3² × 5⁴ × 7 and B = 3⁴ × 5³ × 7 × 11, work out the highest common factor and the lowest common multiple of the two numbers.
- 4MA1/2HR Jun 2019 Q8 · 4 marksGiven two numbers written as products of prime powers, work out their highest common factor and their lowest common multiple.
- 4MA1/1F Jun 2018 Q10 · 4 marksFind the LCM of 12 and 20, and the HCF of 24 and 56.
- 4MA1/1H Jun 2018 Q8 · 4 marksGiven A = 3⁵ × 5 × 7³ and B = 2³ × 3 × 7⁴, find the HCF and LCM of A and B, then use C = 2ᵖ × 5^q × 7ʳ with given HCF and LCM conditions to find p, q, r.
Cambridge O Level Mathematics (4024)
- 4024/12 May/Jun 2026 Q11 · 4 marksExpress 400 as a product of prime factors, then find the highest common factor of 400 and 180.
- 4024/13 May/Jun 2025 Q11 · 3 marksTwo lights flash at intervals of 12 and 45 minutes, together at 9 am. Find the next time they flash together.
- 4024/21 Oct/Nov 2025 Q15 · 2 marksx = 2² × 3ⁿ⁺¹ × 7 and y = 2ⁿ × 3ⁿ × 7⁴, where n is an integer greater than 2. Find the HCF of x and y as a product of primes in terms of n.
- 4024/22 Oct/Nov 2025 Q14 · 4 marksGiven N = 2 × 3ˣ × 5ʸ and LCM of N and 360 is 16200, find x, y, the HCF of N and 360, and smallest k making kN a cube.
- 4024/21 May/Jun 2024 Q4 · 5 marksFind a square-number factor of 50 other than 1, then use prime factor forms of A and B to express their HCF and LCM in terms of x and y.
- 4024/21 May/Jun 2023 Q5 · 12 marksUsing sets P, Q and R inside ℰ = {1,...,12}, complete a Venn diagram and answer set questions; then use prime factor forms of M and N to find x, y, a square factor and the HCF.
- 4024/11 Oct/Nov 2023 Q14 · 5 marksWrite 36 as a product of prime factors, then use the 36-minute and 48-minute bus intervals, both starting at 09 30, to find when the buses next leave together.
- 4024/12 Oct/Nov 2023 Q9 · 3 marksWrite 180 as a product of primes, then use the given prime factor forms of 36 and N with their LCM to determine the value of k.
- 4024/12 Oct/Nov 2022 Q10 · 3 marksExpress 420 as a product of primes, then use the given prime factorisation of 1512 to find the HCF of 420 and 1512.
- 4024/11 May/Jun 2021 Q6 · 3 marksExpress 308 using only prime factors, then determine the greatest common divisor shared by 308 and 66.
- 4024/12 May/Jun 2021 Q10 · 4 marksWrite 270 as a product of prime factors, then find the highest common factor of 270 and 225.
- 4024/11 Oct/Nov 2021 Q14 · 5 marksExpress 60 as a product of primes, then find the smallest numbers of 60-pen packs and 42-ruler packs giving equal totals of pens and rulers.
- 4024/12 Oct/Nov 2021 Q9 · 4 marksExpress 216 as a product of primes, then use LCM 216 and HCF 18 to find two integers above 25.
- 4024/11 May/Jun 2020 Q6 · 2 marksSafoora buys packs of 6 apples, 5 bananas and 12 peaches and needs equal numbers of each fruit. Find the smallest number of packs of each type she must buy.
- 4024/12 May/Jun 2020 Q13 · 4 marksWrite 108 as a product of prime factors, then find the lowest common multiple of 108 and 180.
- 4024/11 Oct/Nov 2020 Q24 · 5 marksPrime factor questions: write 99 as a product of primes, then use p = 2ⁿ⁺² × 3ⁿ × 5 and q = 2ⁿ × 3ⁿ⁺¹ × 5² with n a positive integer to find R and factorise p + q.