Maths Olympiad Prep

Library / /168 of 520

Number theory Difficulty 5.8 AIME, harder Prove it

5. Let pp be a prime number, and aa be any integer. Prove:
(i) pap+(p1)!ap \mid a^{p}+(p-1)!a;
(ii) p(p1)!ap+ap \mid (p-1)!a^{p}+a.

Solution

5. Use Theorem 1 and Fermat's Little Theorem.

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: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.