The list of integers has been arranged from least to greatest. How many different possible ordered pairs are there so that the average (mean) of these 5 integers is itself an integer?
, 2015
Pick one
Solution
Solution 1
Every 4-digit palindrome is of the form , where is a digit between 1 and 9 inclusive and is a digit between 0 and 9 inclusive (and is not necessarily different than ).
Every 5-digit palindrome is of the form , where is a digit between 1 and 9 inclusive, is a digit between 0 and 9 inclusive (and is not necessarily different than ), and is a digit between 0 and 9 inclusive (and is not necessarily different than and ).
That is, for every 4-digit palindrome there are 10 possible digits so that is a 5-digit palindrome.
For example if and , then the 4-digit palindrome can be used to create the 10 5-digit palindromes: .
Thus, for every 4-digit palindrome , there are exactly 10 5-digit palindromes and so the ratio of the number of 4-digit palindromes to the number of 5-digit palindromes is .
Solution 2
Every 4-digit palindrome is of the form , where is a digit between 1 and 9 inclusive and is a digit between 0 and 9 inclusive (and is not necessarily different than ).
There are 9 choices for the first digit and, for each of these choices, there are 10 choices for the second digit or choices for the first two digits .
Once the first two digits of the 4-digit palindrome are chosen, then the third and fourth digits are also determined (since the third digit must equal the second and the fourth must equal the first).
That is, there are 90 4-digit palindromes.
Every 5-digit palindrome is of the form , where is a digit from 1 to 9 inclusive and is a digit from 0 to 9 inclusive (and is not necessarily different than ) and is a digit from 0 to 9 inclusive (and is not necessarily different than and ).
There are 9 choices for the first digit and 10 choices for the second digit and 10 choices for the third digit or choices for the first three digits .
Once the first three digits of the 5-digit palindrome are chosen, then the fourth and fifth digits are also determined (since the fourth digit must equal the second and the fifth must equal the first).
That is, there are 900 5-digit palindromes.
Thus, the ratio of the number of 4-digit palindromes to the number of 5-digit palindromes is or .