MathDB
ah 7, the perfect number

Source: 2019 AMC 10B #12

February 14, 2019
AMCAMC 10AMC 10 B

Problem Statement

What is the greatest possible sum of the digits in the base-seven representation of a positive integer less than 20192019?
<spanclass=latexbold>(A)</span>11<spanclass=latexbold>(B)</span>14<spanclass=latexbold>(C)</span>22<spanclass=latexbold>(D)</span>23<spanclass=latexbold>(E)</span>27<span class='latex-bold'>(A) </span> 11 \qquad<span class='latex-bold'>(B) </span> 14 \qquad<span class='latex-bold'>(C) </span> 22 \qquad<span class='latex-bold'>(D) </span> 23 \qquad<span class='latex-bold'>(E) </span> 27