MathDB
Problems
Contests
International Contests
Baltic Way
2023 Baltic Way
18
18
Part of
2023 Baltic Way
Problems
(1)
Combi NT
Source: Baltic Way 2023/18
11/11/2023
Let
p
>
7
p>7
p
>
7
be a prime and let
A
A
A
be subset of
{
0
,
1
,
…
,
p
−
1
}
\{0,1, \ldots, p-1\}
{
0
,
1
,
…
,
p
−
1
}
with size at least
p
−
1
2
\frac{p-1}{2}
2
p
−
1
. Show that for each integer
r
r
r
, there exist
a
,
b
,
c
,
d
∈
A
a, b, c, d \in A
a
,
b
,
c
,
d
∈
A
, not necessarily distinct, such that
a
b
−
c
d
≡
r
(
m
o
d
p
)
ab-cd \equiv r \pmod p
ab
−
c
d
≡
r
(
mod
p
)
.
number theory