MathDB
2022 Team P9

Source:

February 28, 2022
team

Problem Statement

For natural numbers nn, let r(n)r(n) be the number formed by reversing the digits of nn, and take f(n)f(n) to be the maximum value of r(k)k\frac{r(k)}k across all nn-digit positive integers kk. If we define g(n)=110f(n)g(n)=\left\lfloor\frac1{10-f(n)}\right\rfloor, what is the value of g(20)g(20)? Proposed by Adam Bertelli