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

The equation

$$(x+1)^2 + y_1^2 = (x+2)^2 + y_2^2 = \cdots = (x+n)^2 + y_n^2$$

has integer solutions $(x,y_1,y_2,\ldots,y_n)$.

What is the largest positive integer $x$ that satisfies the equation?

share|cite|improve this question

Hint: start with $n=2$, where you have only one equation. Put the $y$'s on one side, the other terms on the other, and factor the difference of two squares.

Once you get to $n=3$ solutions become quite unlikely. The $y$'s have to be carefully chosen. You will get one solution set for each pair of $y$'s, then have to take the intersection to see if there are any $x$'s at all.

share|cite|improve this answer

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.