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

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

Archive

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