# Pretty Primes

Find all solutions in primes $$p \leq q \leq n$$ to the equation

$$p(p+1) + q(q+1) = n(n+1)$$

Enter your solution as $$\sum p_i + q_i + n_i$$.

×