A229130: Number of permutations i0, i1, ..., in of 0, 1, ..., n with i0 = 0 and in = n such that the n+1 numbers i0^2+i1, i1^2+i2, ..., i{n
Statement
Conjecture: a(n) > 0 except for n = 2, 5, 11. Similarly, for any positive integer n not equal to 4, there is a permutation i0, i1, ..., in of 0, 1, ..., n with i0 = 0 and in = n such that the n+1 numbers i0^2-i1, i1^2-i2, ..., i{n-1}^2-in, in^2-i_0 are all coprime to both n-1 and n+1. · Zhi-Wei Sun also made the following general conjecture:
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/oeis-a229130.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a229130.lean
import Mathlib
/-!
# A229130: Number of permutations i0, i1, ..., in of 0, 1, ..., n with i0 = 0 and in = n such that the n+1 numbers i0^2+i1, i1^2+i2, ..., i{n
Source: https://oeis.org/A229130
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_oeis_a229130
-- definitions the statement needs (no sorry, no axiom)
theorem main : sorry := by
sorry
end OMA.S_oeis_a229130