login
A055160
Numbers n with the property that 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), ordered by a.
5
495, 6174, 549945, 631764, 63317664, 97508421, 864197532, 554999445, 6333176664, 9753086421, 9975084201, 86431976532, 633331766664, 975330866421, 997530864201, 999750842001, 555499994445, 8643319766532
OFFSET
1,1
COMMENTS
This sequence appears to differ from A099009 at the positions of two terms in it: 554999445 and 555499994445. - Alexander R. Povolotsky, May 01 2012
REFERENCES
Denis Borris, Ken Duisenberg's Puzzle of the Week, April 20, 2000
LINKS
Denis Borris, Ken Duisenberg's Puzzle of the Week, April 20, 2000
Yutaka Nishiyama, The weirdness of number 6174, International Journal of Pure and Applied Mathematicsm, Volume 80 No. 3 2012, 363-373. - From N. J. A. Sloane, Oct 29 2014
FORMULA
a(n) = A055161(n) - A055162(n).
EXAMPLE
495 = 954-459.
CROSSREFS
Sequence in context: A151965 A151957 A099009 * A055157 A027808 A104478
KEYWORD
base,nonn
AUTHOR
Henry Bottomley, Apr 27 2000
STATUS
approved