# Prime power, prime exponent

Find all positive integers $$x,y$$ and positive prime numbers $$p$$ such that $p^x-y^p = 1.$ Enter your answer as the sum $$\sum(p_i+x_i+y_i)$$ where the sum runs over the solutions $$(p,x,y)$$ to the equation.

×