A227456: Number of permutations i0, i1, ..., in of 0, 1, ..., n with i0 = 0 and in = 1 such that all the n+1 numbers i0^2+i1, i1^2+i2, ...,
Statement
Conjecture: a(n) > 0 for all n > 0. Similarly, for any positive integer n, there is a circular permutation i0, i1, ..., in of 0, 1, ..., n such that all the n+1 numbers i0^2+i1, i1^2+i2, ..., i{n-1}^2+in, in^2+i_0 are of the form (p-1)/4 with p a prime congruent to 1 modulo 4.
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-a227456.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-a227456.lean
import Mathlib /-! # A227456: Number of permutations i0, i1, ..., in of 0, 1, ..., n with i0 = 0 and in = 1 such that all the n+1 numbers i0^2+i1, i1^2+i2, ..., Source: https://oeis.org/A227456 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_a227456 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a227456