MathDB
Problems
Contests
International Contests
IMO Longlists
1987 IMO Longlists
65
65
Part of
1987 IMO Longlists
Problems
(1)
IMO LongList 1987 - Runs of a decimal number
Source:
9/6/2010
The runs of a decimal number are its increasing or decreasing blocks of digits. Thus
024379
024379
024379
has three runs :
024
,
43
024, 43
024
,
43
, and
379
379
379
. Determine the average number of runs for a decimal number in the set
{
d
1
d
2
⋯
d
n
∣
d
k
≠
d
k
+
1
,
k
=
1
,
2
,
⋯
,
n
−
1
}
\{d_1d_2 \cdots d_n | d_k \neq d_{k+1}, k = 1, 2,\cdots, n - 1\}
{
d
1
d
2
⋯
d
n
∣
d
k
=
d
k
+
1
,
k
=
1
,
2
,
⋯
,
n
−
1
}
, where
n
≥
2.
n \geq 2.
n
≥
2.
algebra proposed
algebra