Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Conjecture relating two characterizations of a set of integers.

Source:OEIS conjectures
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Conjecture: The gcd condition is equivalent to the prime power condition. This has been conjectured by Ralf Stephan.

Both the natural-language proof and its Lean 4 formalization were carried out by the KLMM MechMath Agent Team; see the formal_proof attribute.

References:

Subjects:Number Theory (math.NT)
MSC classes:11
Tags:formal_proof
Cite as:NS.06885 [math.NT] · NS.06885v1 for this version
Declaration:OeisA80170.gcdCondition_iff_primePowerCondition
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:90bda1ad2e7376283b7a9c23338d66a70bf030803d954cf4403638d18af8e43b
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/OEIS/80170.lean

Formal statement

theorem gcdCondition_iff_primePowerCondition (k : ℕ) (hk : 2 ≤ k) :
    A k ↔ B (k + 1)
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Conjecture relating two characterizations of a set of integers.

Informal Statement:
For an integer $k \ge 2$, the following are equivalent:

1. The greatest common divisor of the binomial coefficients
    $\binom{2k}{k}, \binom{3k}{k}, \dots, \binom{(k+1)k}{k} = 1$.

2. Writing prime factorization of $k$ as
    $k = \prod p_i^{e_i}$, and let
    $P = \max_i p_i^{e_i}$,
    one has $k / P > P$.

This conjecture asserts that the sequence defined by 1. is obtained by
taking 1 off each number in the sequence defined by 2.

*References:*
- [A80170](https://oeis.org/A80170)
- [A51283](https://oeis.org/A51283)
-/

@[expose] public section

namespace OeisA80170

/--
The gcd of the binomial coefficients
$\binom{2k}{k}, \binom{3k}{k}, \dots, \binom{(k+1)k}{k} = 1$.
-/
def A (k : ℕ) : Prop :=
  (Finset.range k).gcd (fun i => Nat.choose ((i + 2) * k) k) = 1

/--
Let $P$ be the largest prime power dividing `k`.
Then $k / P > P$.
-/
def B (k : ℕ) : Prop :=
  let P := ((Nat.divisors k).filter IsPrimePow).max.getD 0
  k / P > P

@[category test, AMS 11]
theorem a_2 : ¬A 2 := by unfold A; decide

@[category test, AMS 11]
theorem a_3 : ¬A 3 := by unfold A; decide

@[category test, AMS 11]
theorem a_4 : ¬A 4 := by unfold A; decide

@[category test, AMS 11]
theorem a_5 : ¬A 5 := by unfold A; decide

@[category test, AMS 11]
theorem a_6 : ¬A 6 := by unfold A; decide

set_option linter.style.formal_proof_palomar false in
/--
Conjecture: The gcd condition is equivalent to the prime power condition.
This has been conjectured by Ralf Stephan.

Both the natural-language proof and its Lean 4 formalization were carried out
by the KLMM MechMath Agent Team; see the `formal_proof` attribute.

*References:*
- [Ralf Stephan, *Prove or Disprove. 100 Conjectures from the OEIS*, 2004, Conjecture 17 (arXiv:math/0409509)](https://arxiv.org/abs/math/0409509)
- [Dakai Guo et al., *A Greatest Common Divisor Criterion of Certain Binomial Coefficients*, 2026 (arXiv:2606.22997)](https://arxiv.org/abs/2606.22997)
-/
@[category research solved, AMS 11,
formal_proof using formal_conjectures at
"https://github.com/guodk/formal-conjectures/blob/0720658844d76a50d48e4baa152eef14d4462907/FormalConjectures/OEIS/80170.lean#L1823"]
theorem gcdCondition_iff_primePowerCondition (k : ℕ) (hk : 2 ≤ k) :
    A k ↔ B (k + 1) := by
  sorry

end OeisA80170

To prove it: keep every definition of Challenge.lean unchanged and prove OeisA80170.gcdCondition_iff_primePowerCondition with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_gcdCondition_iff_primePowerCondition : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch oeis-80170
nosorry submit oeis-80170 nosorry/oeis-80170/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.