MathDB
Problems
Contests
International Contests
Austrian-Polish
1997 Austrian-Polish Competition
2
2
Part of
1997 Austrian-Polish Competition
Problems
(1)
pawn can be moved from (x,y) to (x',y') iff |x - x'| = p and |y- y'| = q
Source: Austrian - Polish 1997 APMC
5/3/2020
Each square of an
n
×
m
n \times m
n
×
m
board is assigned a pair of coordinates
(
x
,
y
)
(x,y)
(
x
,
y
)
with
1
≤
x
≤
m
1 \le x \le m
1
≤
x
≤
m
and
1
≤
y
≤
n
1 \le y \le n
1
≤
y
≤
n
. Let
p
p
p
and
q
q
q
be positive integers. A pawn can be moved from the square
(
x
,
y
)
(x,y)
(
x
,
y
)
to
(
x
′
,
y
′
)
(x',y')
(
x
′
,
y
′
)
if and only if
∣
x
−
x
′
∣
=
p
|x - x'| = p
∣
x
−
x
′
∣
=
p
and
∣
y
−
y
′
∣
=
q
|y- y'| = q
∣
y
−
y
′
∣
=
q
. There is a pawn on each square. We want to move each pawn at the same time so that no two pawns are moved onto the same square. In how many ways can this be done?
combinatorics