/- 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 469 *References:* - [erdosproblems.com/469](https://www.erdosproblems.com/469) - [Le25] Lewis, Z. J., *On the convergence of the reciprocal sum of primitive pseudoperfect numbers*. Preprint (2025). -/ @[expose] public section namespace Erdos469 /-- The proposition that `n` is a sum of distinct proper divisors. -/ def Nat.IsSumDivisors (n : ℕ) : Prop := ∃ S ⊆ n.properDivisors, ∑ d ∈ S, d = n open Erdos469 set_option linter.style.formal_proof_palomar false in /-- Let $A$ be the set of all $n$ such that $n = d_1 + ⋯ + d_k$ with $d_i$ distinct proper divisors of $n$, but this is not true for any $m ∣ n$ with $m < n$. Does: $$ \sum_{n ∈ A} \frac 1 n $$ converge? Yes: the sum converges. This was proved by Lewis [Le25], whose proof has been formalized in Lean. -/ @[category research solved, question, AMS 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/68da20b96673899166e94638f5a7fffeb7231d35/src/latest/ErdosProblems/Erdos469.lean"] theorem erdos_469 : letI A := {n : ℕ | 0 < n ∧ n.IsSumDivisors ∧ ∀ m < n, m ∣ n → ¬ m.IsSumDivisors} Summable fun n : A ↦ 1 / (n : ℝ) := by sorry end Erdos469