MathDB
U-g-l-y problem on decimal representation of n!

Source: 6th German TST 2005, problem 1

May 30, 2005
number theory proposednumber theory

Problem Statement

(a) Does there exist a positive integer nn such that the decimal representation of n!n! ends with the string 20042004, followed by a number of digits from the set {0;ā€…ā€Š4}\left\{0;\;4\right\} ? (b) Does there exist a positive integer nn such that the decimal representation of n!n! starts with the string 20042004 ?