1. Claim: The function f maps prime power inputs to prime power outputs. Specifically, if f(p) is a power of a prime q (where p is a prime), then f(pk) is also a power of q for all k∈N.
2. Proof of Claim:
- By the Chinese Remainder Theorem (CRT), we can find 2012 consecutive numbers, none of which are prime powers. For instance, set N≡−i(modpiqi) for some distinct primes pi and qi. This ensures that there are arbitrarily large runs of non-prime power numbers.
- Let N be a prime power such that N+1,…,N+2012 are all non-prime powers.
- Consider all the prime powers in {1,…,N}, partitioned into boxes as follows:
2,22,…,2i,…3,32,…,3i,…⋮pk,pk2,…,pki,…
There are k boxes here, corresponding to the k primes ≤N.
- Consider the set A={2,3,…,pk}. These k numbers are pairwise relatively prime, so their images under f are also pairwise relatively prime.
- Since f(pk)≤N+2012 and the numbers N,N+1,…,N+2012 do not introduce any new primes, the image of each p∈A must be divisible by a unique prime among {2,…,pk}.
- Therefore, for any p∈A, f(p)=σ(p)k, where σ is some permutation on A.
- If f(pi) had a prime divisor other than that assigned to f(p), it would clash with another prime in a different box, which is impossible since they are in different boxes.
- This proves our claim, as N can be as large as we like.
3. Mapping of Primes to Their Own Powers:
- Suppose f(p)=qm for some prime q=p.
- Then for any k, f(pk)=qℓ for some ℓ depending on k.
- This implies:
pk<qℓ≤pk+2012⟹ℓ∈(logqlogpk,logqlog(pk+2012)]
- The length of this interval is:
logqlog(1+pk2012)
which becomes arbitrarily small as k→∞.
- The leftmost point of this interval is klogqp, whose fractional part can be made arbitrarily small for some large k, since {kα} is dense in (0,1) for α∈R∖Q.
- Therefore, we can choose k such that the interval fails to contain an integer, creating a contradiction for ℓ.
4. Final Step:
- Suppose there exists n∈N and a prime p such that p∣f(n) but p∤n.
- Then (n,p)=1⟹(f(n),f(p))=1, which contradicts p∣f(n) and f(p)=pk.
Thus, we have shown that if p divides f(n), then p must divide n.
■