Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Five integers which sum in pairs to squares

Number theoryCombinatorics

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

This is the title of an article by A.R. Thatcher published in the Mathematics Gazette, Five Integers Which Sum in Pairs to Squares. There he published several solutions to the problem, including one by Jean Lagrange who produced the example

L={7442,28658,148583,177458,763442}.\displaystyle \mathcal{L} = \{7442, 28658, 148583, 177458, 763442\}.L={7442,28658,148583,177458,763442}.

Various authors and methods are mentioned in the short article. Lagrange even gave a 111-parameter family that generates infinitely many such 555-element sets and sometimes gives a 666-element set, but the example produced contains a negative integer. {}{}

My question concerns understanding the geometry of such sets. Let AAA be a finite set of integers of cardinality kkk, say. We say that AAA is square-summed if the restricted sumset A⊞A={a1+a2:a1,a2∈A,a1≠a2}A \boxplus A = \{a_1 + a_2 : a_1, a_2 \in A, a_1 \ne a_2\}A⊞A={a1​+a2​:a1​,a2​∈A,a1​=a2​} is contained in the set of square numbers. Note that AAA contains at most one negative integer.

We can easily determine all 333-element sets which are square-summed. Suppose

x1+x2=n122,x2+x3=n232,x1+x3=n132.\displaystyle x_1 + x_2 = n_{12}^2, x_2 + x_3 = n_{23}^2, x_1 + x_3 = n_{13}^2.x1​+x2​=n122​,x2​+x3​=n232​,x1​+x3​=n132​.

Then simply inverting the equations we find that

x1=n122−n232+n1322,x2=n122+n232−n1322,x3=−n122+n232+n1322.\displaystyle x_1 = \frac{n_{12}^2 - n_{23}^2 + n_{13}^2}{2}, x_2 = \frac{n_{12}^2 + n_{23}^2 - n_{13}^2}{2}, x_3 = \frac{-n_{12}^2 + n_{23}^2 + n_{13}^2}{2}.x1​=2n122​−n232​+n132​​,x2​=2n122​+n232​−n132​​,x3​=2−n122​+n232​+n132​​.

There for any triple of squares (n122,n232,n132)(n_{12}^2, n_{23}^2, n_{13}^2)(n122​,n232​,n132​) not all odd gives a square-summed set of cardinality 333.

We can also explicitly parametrize 444-element square-summed sets using Gaussian integers. Suppose A={a1,a2,a3,a4}A = \{a_1, a_2, a_3, a_4\}A={a1​,a2​,a3​,a4​} satisfies ai+aj=nij2a_i + a_j = n_{ij}^2ai​+aj​=nij2​ for 1≤i<j≤41 \leq i < j \leq 41≤i<j≤4. Then we have a 6×46 \times 46×4 matrix system of rank 444, so we have two relations in the nij2n_{ij}^2nij2​'s. This can be derived from

a1+a2+a3+a4=n122+n342=n132+n242=n142+n232.\displaystyle a_1 + a_2 + a_3 + a_4 = n_{12}^2 + n_{34}^2 = n_{13}^2 + n_{24}^2 = n_{14}^2 + n_{23}^2.a1​+a2​+a3​+a4​=n122​+n342​=n132​+n242​=n142​+n232​.

This last set of equations is essentially capturing triples of Gaussian integers (modulo multiplication by units) which lie on the same circle. I claim that such triples are generated by triples

(a,b,c)=(a1+ia2,b1+ib2,c1+ic2)\displaystyle (\mathfrak{a}, \mathfrak{b}, \mathfrak{c}) = (a_1 + i a_2, b_1 + i b_2, c_1 + i c_2)(a,b,c)=(a1​+ia2​,b1​+ib2​,c1​+ic2​)

of Gaussian integers by the formula

(a,b,c)↦(abc,a′b′c,ab′c′),\displaystyle (\mathfrak{a}, \mathfrak{b}, \mathfrak{c}) \mapsto (\mathfrak{a} \mathfrak{b} \mathfrak{c}, \mathfrak{a}^\prime \mathfrak{b}^\prime \mathfrak{c}, \mathfrak{a} \mathfrak{b}^\prime \mathfrak{c}^\prime),(a,b,c)↦(abc,a′b′c,ab′c′),

where a′\mathfrak{a}^\primea′ denotes complex conjugation (the overline command in tex seems to look very strange in the MO rendering). In particular this determines nij2n_{ij}^2nij2​ for 1≤i<j≤41 \leq i < j \leq 41≤i<j≤4 and hence determines AAA.

My question concerns the quintuples, one of which is the tuple L\mathcal{L}L given by Lagrange above. Is there any hope of obtaining something resembling a parametrization akin to the triple and quadruple cases shown above?

Statement and context adapted from MathOverflow · Stanley Yao Xiao

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Cardinal and countability
A cardinal measures the size of a set. A countably infinite set can be listed using the positive integers; an uncountable set is larger. The symbols ℵ₀, ℵ₁, … distinguish infinite sizes.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · arithmetic-geometry · additive-combinatorics

Authors listed by the source : Stanley Yao Xiao

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 29, 2026

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni