We find all positive integer solutions ( x , y , a , b , n ) of x 2 + 2 a ⋅ 3 b = y n with n ≥ 3 and coprime x and y .