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

A081978: Smallest triangular number with exactly n divisors, or 0 if no such number exists.

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

Statement

From Jon E. Schoenfield, May 25 2014: If n is an odd semiprime, then a triangular number t having exactly n divisors must be of the form t = p^(2r) q^(2s) = (p^r q^s)^2, where p and q are distinct primes (p < q) and r and s are positive integers such that (2r+1)*(2s+1) = n. If t is the k-th triangular number k(k+1)/2, it can be factored as t = u v where u = k and v = (k+1)/2 if k is odd, or u = k/2 and v = k+1 if k is even. Since neither p nor q (each of which is greater than 1) can divide both k and (k+1)/2, or both k/2 and k+1, only four cases need to be considered: Case 1: k is even, q^(2s) = k/2, p^(2r) = k+1 Case 2: k is even, p^(2r) = k/2, q^(2s) = k+1 Case 3: k is odd, q^(2s) = k, p^(2r) = (k+1)/2 Case 4: k is odd, p^(2r) = k, q^(2s) = (k+1)/2 These yield the following equations: Case 1: 2 q^(2s) + 1 = p^(2r) Case 2: 2 p^(2r) + 1 = q^(2s) Case 3: 2 p^(2r) - 1 = q^(2s)

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

import Mathlib

/-!
# A081978: Smallest triangular number with exactly n divisors, or 0 if no such number exists.

Source: https://oeis.org/A081978
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_a081978

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a081978