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

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

Archive

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