DR.WANG Mathematics中文

2020 AIME I · Question 4

Number theory · divisibility · factor · digits

Problem outline

A positive integer ends in the four digits 20202020. After deleting those digits, the remaining positive integer must divide the original number. Find the total of all digits across every such integer.

Show answer and methods 1 methods

Answer

093

Method 1 Reduce the condition to divisors of 2020

Write the number as N=10000k+2020N=10000k+2020 with k≥1k\ge1. The condition k∣Nk\mid N is equivalent to k∣2020k\mid2020.

Since 2020=22⋅5⋅1012020=2^2\cdot5\cdot101, its divisors are 1,2,4,5,10,20,101,202,404,505,1010,20201,2,4,5,10,20,101,202,404,505,1010,2020. Their digit sums total 4545.

Each resulting NN contributes the digit sum of kk plus 2+0+2+0=42+0+2+0=4. There are 1212 choices, so the total is 45+12⋅4=9345+12\cdot4=93, or 093093.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)