A374090: a(n) is the smallest nonnegative integer k where exactly n ordered pairs of positive integers (x, y) exist such that x^2 + x*y + y
Statement
From David A. Corneth, Jun 29 2024: Conjecture: Let qi be the i-th prime of the form 3*k + 1 and let m = Prod{j=1, t} bj, a factorization of m into factors > 1. Let f(m) = Prod{j = 1..t} qi^(b(t+1-j)-1). Then for even n we have a(n) = min(f(n), f(n+1)) and for odd n we have a(n) = 3*f(n). Example for n = 22 we might factor 22 = 11*2. The first two primes of the form 3*k + 1 are 7 and 13. So we would have a(22) = min(7^10*13, 7^22). a(14) = min(f(14), f(15)) = min(7^6 13, 7^4 13^2) = 405769.
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-a374090.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-a374090.lean
import Mathlib /-! # A374090: a(n) is the smallest nonnegative integer k where exactly n ordered pairs of positive integers (x, y) exist such that x^2 + x*y + y Source: https://oeis.org/A374090 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_a374090 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a374090