Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can we find solutions of Diophantine equations of the form :

$$(2^n)^x + p^y = z^2 $$

where $k, x, y, z$ and $n$ are positive integers.

-Richard Simson

share|cite|improve this question
What does p belong to? – Tomarinator Mar 19 '12 at 11:07

Some easily-spotted solutions:

  1. $p = 0$, $nx$ is even, $z$ is a square root of $(2^{nx})$.
  2. $x = y = 2$, $(2^{n},p,z)$ is a Pythagorean triple, e.g. $(4,3,5)$.
  3. In 2., adding $k$ to $n$ and multiplying $p$ and $z$ by $2^{k}$ will produce a new solution for any positive integer $k$.
share|cite|improve this answer

Another simple solution:

x = 1, p = 2, n even, y = n+3

Then, putting m = n/2:

$(2^n)^x + p^y = 2^n + 2^3.2^n = (1 + 2^3).2^n = 9.2^n = 9.4^m = (3.2^m)^2$

share|cite|improve this answer
You have given good explanation. can you generalize the method of solving the equation of the type $2^x$ + $19^y$ = $z^2$ has a solution (3, 0, 3). Also, $8^x$ + $19^y$ = $z^2$ has no solution. But, $8^x$ + $17^y$ = $z^2$ has a solution (2, 1, 9). I think these there are very close to each other in forms. But, finding solutions by generalizing is difficult. Can you clarify...plZ. – richard_simson Mar 20 '12 at 5:54
richard I can't see a very close connection between what you are asking and my answer. You might like to post a new question. – Adam Bailey Mar 20 '12 at 9:58
@richard: Please do not use the answer box for anything but answering. You should probably register, and then edit the question to ask for further clarifications. – Mariano Suárez-Alvarez Mar 21 '12 at 0:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.