A222267: The number of distinct lines defined by an n X n X n grid of points.
Statement
Conjecture: a(n) is approximately 0.3639537*n^6, with a relative error of about 10^-5 when n is near 200. · The conjectured asymptotic growth rate is correct; the exact leading coefficient is a(n) ~ 7/(16*zeta(3))*n^6 = 0.3639594755...*n^6. Indeed, these lines are exactly double-counted by ordered pairs (P,Q) of grid points such that (i) the segment PQ contains no other grid points and (ii) the point 2Q-P lies outside the cube. For random P and Q, condition (i) occurs with probability tending to Product_{p prime}(1-p^(-3)) = 1/zeta(3), while condition (ii) occurs with probability tending to 1-2^(-3) = 7/8. These conditions are asymptotically independent (this isn't immediate, but it can be checked that the contribution of large common divisors tends to zero). Hence a(n) ~ (n^6/2)*(1/zeta(3))*(7/8) = 7/(16*zeta(3))*n^6.
Posed by Akiva Weinberger, Clive Tooth · OEIS nice
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-a222267.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-a222267.lean
import Mathlib /-! # A222267: The number of distinct lines defined by an n X n X n grid of points. Source: https://oeis.org/A222267 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_a222267 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a222267