Is there a fixed point theorem that applies to $f: \sum_k x_k 10^k \mapsto \sum_k x_k!$?
Statement
Let , where is the -th digit of in base ten. This function came up in a Project Euler problem. The question is which numbers are the sums of the factorials of their own digits, i.e. such that , i.e. the fixed points.
There are two nontrivial fixed points, 145 and 40585. I'm wondering if this can be shown without a brute force search. There is a cutoff since when is greater than about 6 digits since where is the number of digits.
A cursory search through a list of fixed point theorems didn't reveal one whose conditions meets. is not a contraction mapping nor monotonic. Iterating seems to converge to a handful of small cycles of order 3 or so.
Posed by Jackson Walters · fixed-point-theorems
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-457007.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-457007.lean
import Mathlib /-! # Is there a fixed point theorem that applies to $f: \sum_k x_k 10^k \mapsto \sum_k x_k!$? Source: https://mathoverflow.net/questions/457007 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_457007 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_457007