Skip to main content
6 of 6
added 16 characters in body

Hyperrectangles with integer diagonals

What is the largest value of $n$ for which there exists $n$ (not necessarily distinct) complete squares of natural numbers such that the sum of every subset of it is also a complete square? ( For example, for $n=2$ this sets are two smallest elements of a Pythagorean triplet)

An equivalent form: largest $n$ for which there exists an $n$-dimensional hyperrectangle such that the lengths of diagonals of all of it's faces are integers?

Can one prove that such a set doesn't exist for a large value of $n$, say $1000$? I worked a while on this seemingly easy problem but couldn't find the answer.