MathDB
2+22+222+...

Source: Moldova 2000 Grade 12 P3

April 27, 2021
algebra

Problem Statement

For any nNn\in\mathbb N, denote by ana_n the sum 2+22+222++2222+22+222+\cdots+22\ldots2, where the last summand consists of nn digits of 22. Determine the greatest nn for which ana_n contains exactly 222222 digits of 22.