Maths Olympiad Prep

Track / Stage 5 / 123 of 400 #723 of 1964

Problem 723

AIME late
Number theory Difficulty 5.3 Prove it

(Canada, 1983). Let pp be a prime number. Show that there are infinitely many integers nn such that pp divides 2nn2^{n}-n.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

. If p=2p=2, all even numbers work. If p>2p>2, we have 2p112^{p-1} \equiv 1 modulo pp. We deduce that for n=(kp1)(p1)n=(k p-1)(p-1), where kk is any positive integer, 2n2^{n} and nn are both congruent to 1 modulo pp.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.