MathDB
2018 Combinatorics #2

Source:

February 12, 2018

Problem Statement

Let a<ba<b be five-digit palindromes (without leading zeroes) such that there is no other five-digit palindrome strictly between aa and bb. What are all possible values of bāˆ’ab-a? (A number is a palindrome if it reads the same forwards and backwards in base 1010.)