Permutation $\{a_i\}_0^{2N}$ of $\{-N,\cdots,N\}$ exists for all $N$ with $\sqrt{a_i^2-4a_{i-1}a_{i+1}}\in\mathbb Z$ for all $0<i<2N$?
Statement
Crosspost: Math.SE.
This is somewhat generalization of square-sum problem. We researched permutation with its two or three adjacent terms satisfy certain condition.
Original problem, equivalent with problem in title suggested by my friend was as below:
Are there exists rearrangement of exists as with has rational root for all ? If not, then what is the smallest value of ?
Via bruteforcing we get that rearrangement exists for small . And through the following observation, we were able to search for whether the rearrangement satisfies above restrict exists for larger in a more efficient way: Assume that are rearrangement of and has rational root for all . Then is rearrangement what we want.
This is a fairly obvious observation, but by drastically reducing the search range, we were able to explore whether all rearrangements up to in reasonable time exist.
The code in the following link was written by another friend of mine, reflecting the observation …
Posed by Myungheon Lee · nt.number-theory, sequences-and-series
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-514678.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-514678.lean
import Mathlib
/-!
# Permutation $\{a_i\}_0^{2N}$ of $\{-N,\cdots,N\}$ exists for all $N$ with $\sqrt{a_i^2-4a_{i-1}a_{i+1}}\in\mathbb Z$ for all $0<i<2N$?
Source: https://mathoverflow.net/questions/514678
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_514678
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_mo_514678