MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - Middle School Tournaments
Math Open At Andover problems
2019 MOAA
10
10
Part of
2019 MOAA
Problems
(1)
2019 MOAA Team P10
Source:
1/23/2022
Let
S
S
S
be the set of all four digit palindromes (a palindrome is a number that reads the same forwards and backwards). The average value of
∣
m
−
n
∣
|m - n|
∣
m
−
n
∣
over all ordered pairs
(
m
,
n
)
(m, n)
(
m
,
n
)
, where
m
m
m
and
n
n
n
are (not necessarily distinct) elements of
S
S
S
, is equal to
p
/
q
p/q
p
/
q
, for relatively prime positive integers
p
p
p
and
q
q
q
. Find
p
+
q
p + q
p
+
q
.
number theory
team
2019