Problem 5
Find all triples of positive integers with prime and
Step 1 of 6: Bound using -adic valuation and Wilson's theorem
In plain words
If already contains two factors of , then has exactly one factor of , which a perfect -th power can never have.
Detailed analysis
If , then , so , which is impossible for the perfect -th power . The case is ruled out separately: , and Wilson's theorem shows the bracket is for , contradicting divisibility by again; for , is not a perfect square. Hence .