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

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

Archive

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