MathDB
Problems
Contests
International Contests
Austrian-Polish
2004 Austrian-Polish Competition
1
Digit sum
Digit sum
Source:
July 5, 2015
digit sum
Problem Statement
Let
S
(
n
)
S(n)
S
(
n
)
be the sum of digits for any positive integer n (in decimal notation). Let
N
=
∑
k
=
1
0
2003
10
2004
−
1
S
(
k
)
N=\displaystyle\sum_{k=10^{2003}}^{10{^{2004}-1}} S(k)
N
=
k
=
1
0
2003
∑
10
2004
−
1
S
(
k
)
. Determine
S
(
N
)
S(N)
S
(
N
)
.
Back to Problems
View on AoPS