login
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

%I #11 Mar 04 2015 21:29:58

%S 495,6174,549945,631764,63317664,97508421,864197532,554999445,

%T 6333176664,9753086421,9975084201,86431976532,633331766664,

%U 975330866421,997530864201,999750842001,555499994445,8643319766532

%N 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.

%C This sequence appears to differ from A099009 at the positions of two terms in it: 554999445 and 555499994445. - _Alexander R. Povolotsky_, May 01 2012

%D Denis Borris, Ken Duisenberg's Puzzle of the Week, April 20, 2000

%H Denis Borris, <a href="http://www.ecst.csuchico.edu/~kend/potw/archive/000420sol.html">Ken Duisenberg's Puzzle of the Week</a>, April 20, 2000

%H Yutaka Nishiyama, <a href="http://ijpam.eu/contents/2012-80-3/8/8.pdf">The weirdness of number 6174</a>, International Journal of Pure and Applied Mathematicsm, Volume 80 No. 3 2012, 363-373. - From _N. J. A. Sloane_, Oct 29 2014

%F a(n) = A055161(n) - A055162(n).

%e 495 = 954-459.

%Y Cf. A055157, A099009.

%K base,nonn

%O 1,1

%A _Henry Bottomley_, Apr 27 2000