MathDB
Find all primes

Source: India National Olympiad 2003, Problem 2

March 10, 2005
inequalitiesnumber theory

Problem Statement

Find all primes p,qp,q and even n>2n>2 such that pn+pnāˆ’1+...+1=q2+q+1p^n+p^{n-1}+...+1=q^2+q+1.