Problem:
For each positive integer n, let f(n)=βk=1100ββlog10β(kn)β. Find the largest value of n for which f(n)β€300.
Note: βxβ is the greatest integer less than or equal to x.
Solution:
Note that f(1)=9β
0+90β
1+2=92, and f(10n)=100+f(n), so f(100)=292 and f(1000)=392. For 0β€j<900,log10β(k(100+j))β₯2. Furthermore log10β(k(100+j))β₯3 if and only if
kβ₯100+j1000β=10β100+j10jβ, that is, kβ₯10ββ100+j10jββ
Therefore the number of terms in the sequence having a value of at least 3 is 91+β100+j10jββ. Similarly, the number of terms having a value of 4 is 1+β100+j100jββ, which implies
f(100+j)=200+91+1+β100+j10jββ+β100+j100jββ.
Thus the required value of n=100+j must satisfy 100j<9(100+j), and therefore jβ€9. It can be verified that f(109)=300, so the answer is 109β.
The problems on this page are the property of the MAA's American Mathematics Competitions