+0  
 
0
418
2
avatar

A number is called swappy if it is not a palindrome, but swapping two of its digits produces a six-digit palindrome. For example, the number 813381 is swappy, because we can swap the last two digits to get 813318, which is a palindrome.

How many swappy six-digit numbers are there?

 Feb 16, 2020
 #1
avatar
0

Are you the same person that posted this question yesterday? If yes, did you look under that post?

 

See answers #1 and #2 here:  https://web2.0calc.com/questions/counting-probability

 Feb 16, 2020
 #2
avatar
0

There are 900 palindromes.  There are C(6,2) = 15 ways to choose two digits to swap, so there are 15*900 = 13500 swappy numbers.

 Feb 16, 2020

0 Online Users