MEMO 2024 T7
Define glueing of positive integers as writing their base ten representations one after another and interpreting the result as the base ten representation of a single positive integer.
Find all positive integers for which there exists an integer with the following property: for all , we can glue the numbers in some order so that the result is a number divisible by .
Remark. The base ten representation of a positive integer never starts with zero.
Example. Glueing 15, 14, 7 in this order makes 15147.
Official text Middle European Mathematical Olympiad 2024 official paper, page 2. Quoted with source.
A model read this text from the scan of the paper by OCR, with vision/local (GLM-OCR-8bit). No person has checked it against the paper yet.
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.
Similar problems
These problems have the most words in common with this statement.