MathDB
Find the solutions of p=m^2+n^2, p|m^3+n^3-4

Source: Iranian National Olympiad (3rd Round) 2004

January 9, 2009
number theory proposednumber theory

Problem Statement

Find all prime numbers pp such that p=m2+n2 p = m^2 + n^2 and pm3+n34p\mid m^3+n^3-4.