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

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

Archive

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