Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A002822: Numbers m such that 6m-1, 6m+1 are twin primes.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty37/100

Statement

From Bob Selcoe, Nov 28 2014: Except for a(1)=1, all numbers in this sequence are congruent to (0, 2 or 3) mod 5. It appears that when a(n)=6j, then j is also in the sequence (e.g., 138 = 6*23; 312 = 6*52). This also appears to hold for sequence A191626. If true, then it suggests that when seeking large twin primes, good candidates might be 36*a(n) +- 1, n >= 2. Conjecture: There is at least one number in the sequence in the interval [5k, 7k] inclusive, k >= 1. If true, then the twin prime conjecture also is true. · Conjecture: For every positive integer V, there exist u, v, w in this sequence with u <= v <= V < w and u + v = w. This implies the Twin Prime Conjecture.

Posed by Jonathan Seymour · 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-a002822.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-a002822.lean

import Mathlib

/-!
# A002822: Numbers m such that 6m-1, 6m+1 are twin primes.

Source: https://oeis.org/A002822
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_a002822

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_oeis_a002822