Number theory · Factorials · Legendre formula · Prime valuations · Trailing zeros · Decimal representation

Problem 3, 2013

← Prev · 55 / 245 · Next →

CityProof

Does there exist a natural number \(n\) for which the decimal expansion of \(n!\) has the form

\[ n! = \ldots 2012\,\underbrace{00\ldots 0}_{k}, \]

that is, ends in the digit block \(2012\) followed by exactly \(k\) zeros, for some natural number \(k\)?

Sign in to check answers, open hints, read the full solution, and track your progress. Statements are always free.

Serbian Municipal Competition 2013, high school grade I, category A, problem 3. Organized by the Mathematical Society of Serbia (DMS). Source