Maths Olympiad Prep

Library / /10 of 61

Number theory Difficulty 4.9 AIME Prove it Ukraine

In the decimal form of the number
34!=2952327990390414084761860964350000000 34! = 295232799039*041408476186096435*0000000
two digits are replaced by stars. Find these digits.

Solution

Нехай перша пропущена цифра — aa, друга — bb. Число 34!34! ділиться без остачі на 99 та на 1111. Оскільки сума записаних цифр від ділення на 99 дає остачу 11, то сума aa і bb від ділення на 99 має давати остачу 88, звідки (a,b)(a, b) — одна з таких пар цифр
(0,8),(1,7),(2,6),(3,5),(4,4),(5,3),(6,2),(7,1),(8,0),(8,9),(9,8).(0,8), (1,7), (2,6), (3,5), (4,4), (5,3), (6,2), (7,1), (8,0), (8,9), (9,8).
За ознакою подільності на 1111, сума цифр на парних позиціях дає таку саму остачу від ділення на 1111, що й сума цифр, записаних на непарних позиціях. Звідси aba - b від ділення на 1111 дає остачу 44. Нескладним перебором одержуємо, що (a,b)=(6,2)(a, b) = (6, 2).

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.