MathDB
Problems
Contests
National and Regional Contests
Germany Contests
QEDMO
2005 QEDMO 1st
7 (C1)
7 (C1)
Part of
2005 QEDMO 1st
Problems
(1)
Differences in a subset give all possible differences
Source: QEDMO 2005
11/8/2005
Prove: From the set
{
1
,
2
,
.
.
.
,
n
}
\{1,2,...,n\}
{
1
,
2
,
...
,
n
}
, one can choose a subset with at most
2
⌊
n
⌋
+
1
2 \left\lfloor \sqrt n \right\rfloor +1
2
⌊
n
⌋
+
1
elements such that the set of the pairwise differences from this subset is
{
1
,
2
,
.
.
.
,
n
−
1
}
\{1,2,...,n-1\}
{
1
,
2
,
...
,
n
−
1
}
. (
⌊
x
⌋
\left\lfloor x \right\rfloor
⌊
x
⌋
means the greatest integer
≤
x
\leq x
≤
x
)
floor function