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

A200975: Numbers on the diagonals in Ulam's spiral.

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

Statement

From Bob Selcoe, Oct 22 2014: The following hold: 1. a(n) = (2k + 1)^2 when n = 4k + 1, k >= 0 2. a(n) = 4*k^2 + 1 when n = 4k - 1, k > 0 3 a(n) = k^2 + k + 1 when n = 2k, k > 0. Conjecture 1: there must be at least one prime in [a(n), a(n+1)] inclusive. Conjecture 2: generally, when j is in [(2m-1)^2+1, (2m+1)^2] inclusive, there must be at least one prime in [j-2m-1, j] inclusive. If true, then Conjecture 1 is true; also suggests A248623, A248835 and Oppermann's conjecture (see A002620) likely are true.

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-a200975.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-a200975.lean

import Mathlib

/-!
# A200975: Numbers on the diagonals in Ulam's spiral.

Source: https://oeis.org/A200975
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_a200975

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a200975