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

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

Archive

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