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

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

Archive

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