/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil

Erdős Problem 386

Reference: erdosproblems.com/386

@[expose] public sectionnamespace Erdos386open Nat

Let $2 \le k \le n - 2$. Can $\binom{n}{k}$ be the product of consecutive primes infinitely often? Here $k$ may vary with $n$: the question asks for infinitely many admissible binomial coefficients, not for a single $k$ that works infinitely often.

@[category research open, AMS 11] theorem erdos_386 : answer(sorry) ∃ᶠ n in .atTop, k 2, k n - 2 p q : , n.choose k = i .Ico p q, nth Nat.Prime i := True ∃ᶠ (n : ) in Filter.atTop, k 2, k n - 2 p q, n.choose k = i Finset.Ico p q, nth Nat.Prime i All goals completed! 🐙

For all $2 \le k \le n - 2$, can $\binom{n}{k}$ be the product of consecutive primes infinitely often?

@[category research open, AMS 11] theorem erdos_386.variants.forall : answer(sorry) k 2, ∃ᶠ n in .atTop, k n - 2 p q : , n.choose k = i .Ico p q, nth Nat.Prime i := True k 2, ∃ᶠ (n : ) in Filter.atTop, k n - 2 p q, n.choose k = i Finset.Ico p q, nth Nat.Prime i All goals completed! 🐙

Can $\binom{n}{2}$ be the product of consecutive primes infinitely often?

@[category research open, AMS 11] theorem erdos_386.variants.two : answer(sorry) ∃ᶠ n in .atTop, 2 n - 2 p q : , n.choose 2 = i .Ico p q, nth Nat.Prime i := True ∃ᶠ (n : ) in Filter.atTop, 2 n - 2 p q, n.choose 2 = i Finset.Ico p q, nth Nat.Prime i All goals completed! 🐙end Erdos386