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

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

Archive

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