Show full file and definitions
/-
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.
-/
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 1108
*Reference:* [erdosproblems.com/1108](https://www.erdosproblems.com/1108)
-/
@[expose] public section
open Nat Filter BigOperators
namespace Erdos1108
/--
The set $A = \left\{ \sum_{n\in S}n! : S\subset \mathbb{N}_{\geq 1}\text{ finite}\right\}$ of all
finite sums of distinct factorials. The indices are positive because $0! = 1!$, so allowing $0$
would count the value $1$ twice.
-/
def FactorialSums : Set ℕ :=
{m : ℕ | ∃ S : Finset ℕ, (∀ n ∈ S, 0 < n) ∧ m = ∑ n ∈ S, n.factorial}
/--
For each $k \geq 2$, does the set $A = \left\{ \sum_{n\in S}n! : S\subset \mathbb{N}_{\geq 1}\text{ finite}\right\}$ of all finite sums of distinct factorials contain only finitely many $k$-th powers?
-/
@[category research open, question, AMS 11]
theorem erdos_1108.parts.i : ∀ k ≥ 2,
Set.Finite { a | a ∈ FactorialSums ∧ ∃ m : ℕ, m ^ k = a } := by
sorry
/--
Does the set $A = \left\{ \sum_{n\in S}n! : S\subset \mathbb{N}_{\geq 1}\text{ finite}\right\}$ of all finite sums of distinct factorials contain only finitely many powerful numbers
(`Nat.Powerful`)?
-/
@[category research open, question, AMS 11]
theorem erdos_1108.parts.ii :
{a ∈ FactorialSums | a.Powerful}.Finite := by
sorry
end Erdos1108