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

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

Archive

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