A reversible number is a positive integer whose sum with its digit reversal has numerical digits that are all odd integers. Here the radix is ten, and reversing must preserve the digit length: the original number cannot end in zero, because that would create a leading zero after reversal.
For example, , so both and satisfy the rule. The example shows that internal zeros are allowed. In contrast, is excluded by the reversal-length condition, even though has odd digits.
The arithmetic carries couple mirrored digit positions. In , the units sum creates a carry, which makes the next digit . Treating the digit pairs independently would miss this dependence. A counting method can instead track carries from both ends and match them in the middle, avoiding enumeration of every integer of a given length.

Articles by others on the same topic (0)

There are currently no matching articles.