Learn / Library / Brainteasers
Marks on a lottery card
A lottery card has squares numbered to . You mark distinct squares. What is the smallest number of marked squares that guarantees marked numbers that differ by exactly ?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Split the numbers into chains that step by and ask how many you can take from each chain.
Solution
- Numbers with the same last digit form chains of , such as , , , …, , and a difference of only occurs between neighbours in one chain.
- In a chain of you can take at most numbers with no neighbours, for example every other one.
- So numbers can avoid the difference, for example to , to , to , to and to .
- Any numbers put at least in some chain, which forces neighbours, so the answer is .
Answer: