Find all triples such that , where

**Hint 1:** p cannot be 2. For if p is 2 then

**Hint 2:** Suppose p is odd. Then

**Case 1:**

**Case 2:**

Hence there are no other solution. Only solution is (5, 1, 1)

Find all triples such that , where

**Hint 1:** p cannot be 2. For if p is 2 then

**Hint 2:** Suppose p is odd. Then

**Case 1:**

**Case 2:**

Hence there are no other solution. Only solution is (5, 1, 1)