Legendre's three-square theorem and squared norm of integer matrices
Statement
Let be the set of non-negative integers. Let be the set of integers which are the sum of squares. Let be the set of integers of the form with and the operator norm. Recall that is the largest eigenvalue of .
If with then , so that and .
This answer and Lagrange's four square theorem imply that , whereas because, by Legendre's three-square theorem, .
The investigation below shows that contains every non-negative integer less than .
Question: Does the form cover every non-negative integer for ?
Remark: It is proved here for .
Investigation
Observe that is the set of positive integers whose prime factors are of the form . The first elements of are $7, 23, 31, 47, 71, …
Posed by Sebastien Palcoux · nt.number-theory, co.combinatorics, matrices, additive-combinatorics
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-314293.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-314293.lean
import Mathlib /-! # Legendre's three-square theorem and squared norm of integer matrices Source: https://mathoverflow.net/questions/314293 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_314293 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_314293