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

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

Archive

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