A073818: a(n) = max(prime(i)*(n+1-i) | 1 <= i <= n).
Statement
Conjecture: define an operator P(n) which when applied to a sequence s(1),s(2),s(3),... leaves s(1),...,s(n) fixed and 1) sorts in descending order if n is prime; or 2) sorts in ascending order if n is not prime every n consecutive terms thereafter. Apply P(2) to 1,2,3,... to get PS(2), then apply P(3) to PS(2) to get PS(3), then apply P(4) to PS(3), etc. The limit of PS(n) is b(n). Let c(n) = b(A000040(n) + 1), then a(n) = c(n-1) for n > 1 with a single exception at n = 5.
Posed by Mikhail Kurkov · OEIS
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-a073818.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-a073818.lean
import Mathlib /-! # A073818: a(n) = max(prime(i)*(n+1-i) | 1 <= i <= n). Source: https://oeis.org/A073818 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_a073818 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a073818