lean_workbook_plus_72972
ProvedThere is a bijection of such numbers into numbers whose writing base contains at most digits. Just write instead of and this is the writing in base . So the answer is just the number of multiples of between and . By FLT, is divisible by so the answer is .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_72972 : Finset.card (Finset.filter (λ n => 7∣n) (Finset.Icc 1 (3^6 - 1))) = 104 := by sorry
Source