Maths Olympiad Prep

Library / /2 of 19

Number theory Difficulty 4.7 AIME Prove it Romania

Let nn and kk be two positive integers such that 1nk1 \le n \le k. Prove that, if dk+kd^k + k is a prime number for each positive divisor dd of nn, then n+kn + k is a prime number.

Solution

For d=1d=1 it follows that 1+k1+k is a prime.

For d=nd=n it follows that nk+kn^k + k is a prime. As k+1k+1 does not divide nn (being larger than nn), from Fermat's Theorem we get nk1(modk+1)n^k \equiv 1 \pmod{k+1}, hence nk+k0(modk+1)n^k + k \equiv 0 \pmod{k+1}. It follows that nk+k=k+1n^k + k = k+1, hence n=1n=1. We have seen at the beginning that 1+k1+k is a prime.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.