Number theoryDifficulty 5.0AIME, harderProve itSaudi Arabia
Find all positive integers n such that 5n2+7 is divisible by 6.
Solution
We have 5n2+7=(6−1)n2+7≡(−1)n2+1(mod6). It follows that 5n2+7 is divisible by 6 if and only if (−1)n2+1=0. This is equivalent to n2 being odd. Therefore, the possible values of n are all odd positive integers.
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.