Problem

Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2015

Tags: number theory, prime



Find all triplets $(p,a,b)$ of positive integers such that $$p=b\sqrt{\frac{a-8b}{a+8b}}$$is prime