lean_workbook_plus_56268
ProvedLet be a three digit number, i.e. . Permutating the three digit of , we obtain six three digit numbers (including ) which sum is , where is the sum of digits of . Hence the sum of the five numbers (excluding ) which are digital permutations of are .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_56268 (a b c : ℕ) (h₀ : 1 ≤ a ∧ a ≤ 9) (h₁ : 1 ≤ b ∧ b ≤ 9) (h₂ : 1 ≤ c ∧ c ≤ 9) (N : ℕ) (h₃ : N = 100 * a + 10 * b + c) (h₄ : 0 < N) : N + (100 * a + 10 * c + b) + (100 * b + 10 * a + c) + (100 * b + 10 * c + a) + (100 * c + 10 * b + a) + (100 * c + 10 * a + b) = 222 * (a + b + c) := by sorry
Source