A020665: a(n) is the (conjectured) maximal exponent k such that n^k does not contain a digit zero in its decimal expansion.
Statement
From Chai Wah Wu, Jan 08 2020: The following values and bounds are for the actual maximal exponents (not conjectured). a(A052382(n)) > 0 for n > 1. a(225) = 1 a(225^k) = 0 for k > 1. a(625) = 1. a(625^k) = 0 for k > 1. a(3126) = 2. a(3126^2) = 1. a(3126^k) = 0 for k > 2. a(9376) = 1. a(9376^k) = 0 for k > 1. a(21876) = 2. a(21876^2) = 1. a(21876^k) = 0 for k > 2. a(34376) = 1. a(34376^k) = 0 for k > 1. a(400*n + 225) <= 1, since for k >= 2, (400*n + 225)^k == 625 (mod 10000), i.e., if 400*n + 225 is in A052382, then a(400*n+225) = 1, otherwise it is 0. a(25000*n + 34376) <= 1, since for k >= 2, (25000*n + 34376)^k == 9376 (mod 100000), i.e., if 25000*n + 34376 is in A052382, then a(25000*n + 34376) = 1, otherwise it is 0. a(25000*n + 21876) <= 2, since for k >= 3, (25000*n + 21876)^k == 9376 (mod 100000). a(12500*n + 3126) <= 4, since for k >= 5, (12500*n + 3126)^k == 9376 (mod 100000).
Posed by M. F. Hasler · OEIS
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/oeis-a020665.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a020665.lean
import Mathlib /-! # A020665: a(n) is the (conjectured) maximal exponent k such that n^k does not contain a digit zero in its decimal expansion. Source: https://oeis.org/A020665 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_oeis_a020665 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a020665