Sign up ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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

1 Answer 1

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.