MathDB
N is a multiple of 2009 and the sum of its digits equals 2009

Source: 2009 Grand Duchy of Lithuania, Mathematical Contest p1 (Baltic Way TST)

October 3, 2020
number theorymultiplesum of digits

Problem Statement

The natural number NN is a multiple of 20092009 and the sum of its (decimal) digits equals 20092009. (a) Find one such number. (b) Find the smallest such number.