A102820: Number of primes between 2*prime(n) and 2*prime(n+1), where prime(n) is the n-th prime.
Statement
From Peter Munn, Jun 01 2023: First differences of A020900. A080192 lists prime(n) corresponding to the zero terms. A104380(k) is prime(n) corresponding to the first occurrence of k as a term. If a(n) is nonzero, A059786(n) is the smallest and A059788(n+1) the largest of the a(n) enumerated primes. In the tree of primes described in A290183, these primes label the child nodes of prime(n). Conjecture: the asymptotic proportions of 0's, 1's, ... , k's, ... are 1/3, 2/9, ... , 2^k/3^(k+1), ... .
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-a102820.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-a102820.lean
import Mathlib /-! # A102820: Number of primes between 2*prime(n) and 2*prime(n+1), where prime(n) is the n-th prime. Source: https://oeis.org/A102820 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_a102820 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a102820