A055157 n has distinct digits and n=a-b where a has the digits of n in descending order and b has the digits of n in ascending order (perhaps with leading zeros).
495, 6174, 97508421, 864197532, 9753086421
Offset: 0
Examples
495 = 954-459.
Links
- Dennis Borris, Identity by Ordered Subtraction, Ken Duisenberg's Puzzle of the Week, April 20, 2000.