/- Copyright 2025 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. -/ import FormalConjecturesUtil

Erdős Problem 458

Reference: erdosproblems.com/458

namespace Erdos458

The least common multiple of the integers in the set ${1, \dots, n}$.

def lcm_upto (n : ) : := (Finset.Icc 1 n).lcm id

Let $\operatorname{lcm}(1, \dots, n)$ denote the least common multiple of ${1, \dots, n}$. Let $p_k$ be the $k$-th prime. Is it true that for all $k \geq 1$, $\operatorname{lcm}(1, \dots, p_{k+1}-1) < p_k \cdot \operatorname{lcm}(1, \dots, p_k)$?

@[category research open, AMS 11] theorem declaration uses 'sorry'erdos_458 : answer(sorry) k : , lcm_upto ((k + 1).nth Prime - 1) < k.nth Prime * lcm_upto (k.nth Prime) := True (k : ), lcm_upto (Nat.nth Prime (k + 1) - 1) < Nat.nth Prime k * lcm_upto (Nat.nth Prime k) All goals completed! 🐙 end Erdos458