b) How many integers n∈{1,2,…,p2} are there for which the equation xp≡n(modp2) has at least one solution?
This one wants a proof. Work it on paper, read the official solution, then mark
yourself honestly — the ladder only means something if the record is true.
Official solution
(arithmetic). a) We write a=b+kp where k is a certain integer and we expand:
ap=(b+kp)p=bp+i=1∑p(ip)bi(kp)p−i
Each term in the last sum being divisible by p, we indeed obtain ap≡bp(modp). b) The goal is to determine how many distinct values the quantity xp(modp2) can take. According to the previous question, there are at most p such values since two integers congruent modulo p will give the same value. However, by Fermat's Little Theorem, we have xp≡x(modp), and thus from x≡y(modp), we deduce xp≡yp(modp) and a fortiori xp≡yp(modp2). Therefore, there are at least p values reached. Putting everything together, we can determine the answer to the question in the statement: it is p.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.