Find the residue of $p^N+q^N \mod 6\cdot 12^n$.
Source: 39-th Vietnamese Mathematical Olympiad 2001
March 19, 2007
number theoryrelatively primenumber theory proposed
Problem Statement
Let , where is a positive integer, and let , where and are relatively prime integers greater than has at least two odd divisors greater than are . Find the residue of .