mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

subscribe

Puzzles

14 December

In July, I posted the Combining Multiples puzzle.
Today's number is the largest number that cannot be written in the form \(27a+17b\), where \(a\) and \(b\) are positive integers (or 0).

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

Subsum

1) In a set of three integers, will there always be two integers whose sum is even?
2) How many integers must there be in a set so that there will always be three integers in the set whose sum is a multiple of 3?
3) How many integers must there be in a set so that there will always be four integers in the set whose sum is even?
4) How many integers must there be in a set so that there will always be three integers in the set whose sum is even?

Show answer & extension

Santa

Each of the letters D, A, Y, S, N, T, B, R and E represents a different non-zero digit. The following sum is true:
$$ \begin{array}{cccccc} D&A&D&D&Y\\ B&E&A&R&D&+\\ \hline S&A&N&T&A \end{array} $$
This has a unique solution, but I haven't found a way to find the solution without brute force. This less insightful sum is also true with the same values of the letters (and should allow you to find the values of the letters using logic alone):
$$ \begin{array}{ccccc} R&A&T&S\\ N&E&R&D&+\\ \hline S&A&N&E \end{array} $$

Show answer

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

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

Archive

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