A369871: a(n) = least prime factor of A024411(n).
Statement
Conjecture: every prime occurs infinitely many times. · From Aditya P Bhattad, Apr 29 2026: The conjecture is true. For an odd prime p, choose primes q,r > p and set m = p*q*r. Then lpf(m) = p. The two coprime odd factorizations 1*(p*q*r) and p*(q*r) give two primitive Pythagorean triples with short leg m, since in both cases the larger/smaller factor ratio is > 1 + sqrt(2). Hence every odd prime occurs infinitely often. For p = 2, take m = 12*r with r >= 5 prime. The factorizations 12*r = 2*1*(6*r) = 2*3*(2*r) give two primitive triples with short leg 12*r, since 6*r > 1 + sqrt(2) and 2*r/3 > 1 + sqrt(2). Thus 2 also occurs infinitely often.
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-a369871.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-a369871.lean
import Mathlib /-! # A369871: a(n) = least prime factor of A024411(n). Source: https://oeis.org/A369871 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_a369871 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a369871