A226502: Let P(k) denote the k-th prime (P(1)=2, P(2)=3 ...); a(n) = P(n+1)P(n+3) - P(n)P(n+2).
Statement
a(n) >> n log n and this is probably sharp: on Dickson's conjecture there are infinitely many a(n) < kn log n for any k > 4. The constant 4 comes from 8 + 2 - 6 - 0 n the prime quadruplet (p+0, p+2, p+6, p+8). On Cramér's conjecture a(n) = O(n log^3 n). Unconditionally a(n) << n^1.525 log n.
Posed by Charles R Greathouse IV · OEIS
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-a226502.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-a226502.lean
import Mathlib /-! # A226502: Let P(k) denote the k-th prime (P(1)=2, P(2)=3 ...); a(n) = P(n+1)P(n+3) - P(n)P(n+2). Source: https://oeis.org/A226502 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_a226502 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a226502