login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A055162
The number n has digits in ascending order and n=a-b where a has the digits of n in descending order and b has the digits of n in another order (a and b perhaps with extra zeros), ordered by a.
6
459, 1467, 445599, 134667, 13346667, 1245789, 123456789, 444555999, 1333466667, 123456789, 12457899, 12334566789, 133334666667, 12334566789, 1234567899, 124578999, 444455559999, 1233345666789
OFFSET
1,1
COMMENTS
Each term of this sequence A055162(n) corresponds to A099009(n+1), with its digits being reordered in the ascending manner. [Alexander R. Povolotsky, Apr 26 2012]
All terms of this sequence are divisible by nine, yielding 51, 163, 49511, 14963, 1482963,.... [Alexander R. Povolotsky, Apr 29 2012]
REFERENCES
Denis Borris, Ken Duisenberg's Puzzle of the Week, April 20, 2000
FORMULA
a(n) = A055161(n) - A055160(n).
EXAMPLE
459 = 954 - 495.
CROSSREFS
Sequence in context: A124620 A224456 A121970 * A055159 A124694 A227754
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Apr 27 2000
STATUS
approved