Maths Olympiad Prep

Library / KöMaL problem A /93 of 136

KöMaL problem A, 2017

Number theory Difficulty 7.0 National Olympiad, round 2 Find the answer Hungary

A positive integer nn satisfies the following: it is possible to select some integers such that if we randomly choose two different integers from this list, say, ii and jj, then i+ji+j mod n\mathrm{mod\ } n is equal to one of the numbers 0,1,…,n−10,1,\dots,n-1 with equal probability. Find all numbers nn with this property.

We don't reproduce this publisher's solutions. Their own solution is here — work the problem first.
Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: KöMaL, licensed Rights held by KöMaL and the MATFUND Foundation. Statement reproduced verbatim; metadata (topic, difficulty) added by this project. Solutions are the publisher's, linked not copied.