This site is supported by donations to The OEIS Foundation.

 Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A151947 a(1) = 113; thereafter a(n) = (a(n-1) with digits sorted into descending order) - (a(n-1) with digits sorted into ascending order) (see the Kaprekar map, A151949). 4
 113, 198, 792, 693, 594, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495, 495 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Converges to the fixed point 495. For the list of fixed points see A099009. LINKS CROSSREFS Cf. A099009, A151946, A151949, A151955. Sequence in context: A152929 A142180 A084951 * A087703 A056710 A124585 Adjacent sequences:  A151944 A151945 A151946 * A151948 A151949 A151950 KEYWORD nonn,base AUTHOR N. J. A. Sloane, Aug 18 2009 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.