Problem

Source: Turkey Junior National Olympiad 2012 P1

Tags: quadratics, calculus, integration, number theory, Diophantine equation, number theory proposed



Let $x, y$ be integers and $p$ be a prime for which \[ x^2-3xy+p^2y^2=12p \] Find all triples $(x,y,p)$.