A386437: Alternating sum of the numbers in the trajectory of n for the 3x+1 problem.
Statement
Conjecture: Let P(n) be the set of distinct positive prime numbers that appear in the first n terms of the sequence. Let Q(n) be the subset of those primes that appear with frequency >= 2. Then, as n -> oo, the ratio |Q(n)|/|P(n)| tends to 11/100. Verified for n <= 5 * 10^7. · Conjecture: Let S(n) be the set of positive prime numbers that appear in the first n terms of the sequence. Then, as n -> oo, the ratio |S(n)|/n tends to 0. Verified for n <= 10^6.
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-a386437.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-a386437.lean
import Mathlib /-! # A386437: Alternating sum of the numbers in the trajectory of n for the 3x+1 problem. Source: https://oeis.org/A386437 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_a386437 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a386437