MathDB
kn starts with d

Source: St. Petersburg 2023 9.5

August 12, 2023
algebra

Problem Statement

For a positive integer nn and a nonzero digit dd, let f(n,d)f(n, d) be the smallest positive integer kk, such that knkn starts with dd. What is the maximal value of f(n,d)f(n, d), over all positive integers nn and nonzero digits dd?