ISL 2017 N3
Determine all integers with the following property: for any integers whose sum is not divisible by , there exists an index such that none of the numbers is divisible by . (We let when .) (Thailand)
Official text Transcription from NuminaMath olympiads, checked word for word against the official paper. Quoted with source.
Official text: IMO 2017 Shortlist booklet, page 12.
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).