mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

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 factors, 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

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

Archive

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