MathDB
Swapping First and Last Digits

Source:

September 8, 2024
number theory2024

Problem Statement

Let N15N_{15} be the answer to problem 15.
For a positive integer xx expressed in base ten, let xx' be the result of swapping its first and last digits (for example, if x=2024x = 2024, then x=4022x' = 4022). Let CC be the number of N15N_{15}-digit positive integers xx with a nonzero leading digit that satisfy the property that both xx and xx' are divisible by 1111 (note: xx' is allowed to have a leading digit of zero). Compute the sum of the digits of CC when CC is expressed in base ten.