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

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

Archive

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