UIUC Mock Putnam Exam 1/2005 Solutions
UIUC Mock Putnam Exam 1/2005 Solutions
UIUC Mock Putnam Exam 1/2005 Solutions
Solutions
Problem 3. How many positive integers are there which, in their decimal
representation, have strictly decreasing digits? Explain!
1
Solution. The key to this problem is the fact that there is a one-to-
one correspondence between nonnegative integers (i.e., positive or zero) with
decreasing digits and nonempty subsets of {0, 1, . . . , 9}. This is seen as fol-
lows: First, given such a subset {a1 , . . . , ak }, with the ai s written in de-
creasing order, let n be the integer obtained by concatenating the ai s, i.e.,
n = a1 a2 . . . ak . Then n is a nonnegative integer with decreasing digits. Con-
versely, given a nonnegative integer with decreasing digits, let a1 , a2 , . . . , ak
denote the sequence of its digits. Then the set {a1 , . . . , ak } is a nonempty
subset of {0, 1, . . . , 9}.
Thus, the number of nonnegative integers with decreasing digits is equal
to the number of non-empty subsets of the 10-element set {0, 1, . . . , 9}, i.e.,
210 1 = 1023. The integer 0 is included in this count, so the number of
positive integers with decreasing digits sought in the problem is one less, i.e.,
1022.
2
valid for all x 6= 0, 1. We repeat the process one more time, substituting
(1 x)1 for x in (2). The result is
1 1
f 1 + f (x) = 1 . (3)
x x
We stop here, since the next substitution would only lead back to the original
equation (1). However, we now have enough equations to determine f (x):
Setting X = f (x), Y = f (1/(1x), and Z = f (11/x)), the three equations
(1), (2), (3), can be written as
X + Y = x,
1
Y +Z = ,
1x
1
Z +X =1 .
x
This is a linear system of three equations in three unknowns X, Y, Z, which
is easily solved. The result is
1 1 1
X = f (x) = x +1 .
2 1x x
and therefore
X1 X k
X 9 9
= Sk 10 = = 90 < .
nA
n k=1 k=1
10 1 9/10
3
Hence the series converges.