Number theoryDifficulty 4.1AIMEFind the answerPhilippines
Problem:
For how many primes p<50 is p4+5p3+4 divisible by 5?
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Solution:
Clearly, the expression is not divisible by 5 when p=5. For any prime p other than 5, note that p4≡1(mod5), so p4+5p3+4≡0(mod5). Hence, the problem reduces to counting the number of primes less than 50 other than 5. There are 13 such primes.
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 reproduced verbatim; metadata (topic, difficulty) added by this project.