mscroggs.co.uk
mscroggs.co.uk

subscribe

Puzzles

Combining multiples

In each of these questions, positive integers should be taken to include 0.
1. What is the largest number that cannot be written in the form \(3a+5b\), where \(a\) and \(b\) are positive integers?
2. What is the largest number that cannot be written in the form \(3a+7b\), where \(a\) and \(b\) are positive integers?
3. What is the largest number that cannot be written in the form \(10a+11b\), where \(a\) and \(b\) are positive integers?
4. Given \(n\) and \(m\), what is the largest number that cannot be written in the form \(na+mb\), where \(a\) and \(b\) are positive integers?

Show answer & extension

If you enjoyed this puzzle, check out Sunday Afternoon Maths LIV,
puzzles about sums, or a random puzzle.

Archive

Show me a random puzzle
 Most recent collections 

Advent calendar 2025

Advent calendar 2024

Advent calendar 2023

Advent calendar 2022


List of all puzzles

Tags

indices surds tournaments sets doubling ellipses matrices pascal's triangle consecutive integers menace digital clocks factorials decahedra coins remainders planes sum to infinity floors sport clocks the only crossnumber lines regular shapes money chocolate gerrymandering area unit fractions dates wordplay games polynomials combinatorics algebra probabilty products shape median multiplication circles expansions crosswords prime factors parabolas elections dominos triangle numbers bases cryptic clues division logic scales square numbers calculus advent books factors integers neighbours triangles functions ave partitions symmetry percentages coordinates numbers determinants irreducible numbers means star numbers colouring chalkdust crossnumber quadrilaterals christmas balancing cryptic crossnumbers complex numbers prime numbers sequences differentiation shapes lists taxicab geometry square roots digital products time squares multiplaction squares rectangles dodecagons arrows proportion range axes people maths cube numbers multiples volume geometric mean mean folding tube maps consecutive numbers digits 2d shapes number angles chess perimeter hexagons addition averages cards square grids probability crossnumbers polygons pentagons routes tangents odd numbers perfect numbers cubics rugby 3d shapes grids fractions geometric means medians spheres quadratics even numbers albgebra binary tiling powers speed sums palindromes dice graphs trigonometry integration geometry xor

Archive

Show me a random puzzle
▼ show ▼
© Matthew Scroggs 2012–2026