The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A151946 a(1) = 8127; 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). 2
 8127, 7443, 3996, 6264, 4176, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Similar in spirit to the RATS (Reverse, Add Then Sort) sequences. Converges to the fixed point 6174. For the list of fixed points see A099009. The initial value 1001 is the smallest number that converges to 6174 - see A151967. LINKS CROSSREFS Cf. A099009, A151947, A151949, A151951, A151955, A151956, A151967. A151968. Sequence in context: A209845 A025288 A025306 * A229381 A147633 A237145 Adjacent sequences:  A151943 A151944 A151945 * A151947 A151948 A151949 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified July 3 07:58 EDT 2022. Contains 355031 sequences. (Running on oeis4.)