Given a positive even integer which is not a power of , prove that at least one of the numbers and is composite for infinitely many non-negative integers .
Solution
Write and . Suppose now, if possible, that and are both prime for all but finitely many non-negative integers , say, for all . Clearly, we may and will assume that for all .
Fix any and consider the (multiplicative) order of modulo the prime . By Fermat's Little Theorem, this order divides , so it is a power of , say, .
Thus, the prime divides , so it divides (at least) one of the two factors. By minimality of , the first factor is not divisible by , so divides . Notice that , since is not a power of . Hence is composite, forcing .
Consequently, the product is divisible by for all . This contradiction concludes the proof.
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.