Talk:2012 USAMO Problems/Problem 3
The answer is the set of all integers that are at least 3.
For composite n where there are two primes p_1 and p_2 such that n/2<p_1<p_2<n, here's your construction:
Pick maximal integers j_1 and j_2 such that divides i.
Pick a minimal positive integer s such that is 0 mod p_2. (You know it exists since p_1 and p_2 are relatively prime.)
Pick an integer t such that. (It exists because of how we defined s. It also must be negative.)
Then .
For n=4:
, wheredivides i.
For n=6:
, where divides i.
For n=10:
, where divides i.
[I don't know LaTeX, so someone else can input it.]
--Mage24365 09:00, 25 April 2012 (EDT)