MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - Other Middle and High School Contests
Math Prize For Girls Problems
2015 Math Prize for Girls Problems
5
5
Part of
2015 Math Prize for Girls Problems
Problems
(1)
Math Prize 2015 Problem 5
Source:
9/22/2015
How many distinct positive integers can be expressed in the form
A
B
C
D
ā
D
C
B
A
ABCD - DCBA
A
BC
D
ā
D
CB
A
, where
A
B
C
D
ABCD
A
BC
D
and
D
C
B
A
DCBA
D
CB
A
are 4-digit positive integers? (Here
A
A
A
,
B
B
B
,
C
C
C
and
D
D
D
are digits, possibly equal.) Clarification:
A
A
A
and
D
D
D
can't be zero (because otherwise
A
B
C
D
ABCD
A
BC
D
or
D
C
B
A
DCBA
D
CB
A
wouldn't be a true 4-digit integer).