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

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

Archive

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