A300012: A permutation of the positive integers in which adjacent terms differ by a single prime factor and a(n) has no prime factor exceed
Statement
This permutation can be viewed as a tour of the positive integers, multiplying or dividing by a prime at each step. The "lexicographically earliest inverse" condition means no other such tour visits an integer k earlier, unless it visits an integer less than k later than this tour does (but see the proviso addressed by conjectures 1 and 2 below). · The condition "a(n) has no prime factor exceeding prime(n)" is included to ensure the sequence is well-defined. The author anticipates the condition may be redundant, in the sense that if it is removed: (conjecture 1) the lexicographically earliest inverse remains defined; and (conjecture 2) the terms remain the same. · From M. F. Hasler, Jun 13 2018: For all n, a(n+1)/a(n) is prime or the inverse of a prime (A000040). Conjecture: A006530(a(n)) <= n; lim sup A006530(a(n))/n < 0.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-a300012.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-a300012.lean
import Mathlib /-! # A300012: A permutation of the positive integers in which adjacent terms differ by a single prime factor and a(n) has no prime factor exceed Source: https://oeis.org/A300012 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_a300012 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a300012