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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A151955 a(1) = 102; 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
 102, 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 102 is the smallest starting value which does not converge to 0. Converges to the fixed point 495. For the list of fixed points see A099009. LINKS Table of n, a(n) for n=1..48. Index entries for the Kaprekar map CROSSREFS Cf. A099009, A151946, A151949, A151947, A151957. Sequence in context: A006316 A242068 A053326 * A244387 A044334 A044715 Adjacent sequences: A151952 A151953 A151954 * A151956 A151957 A151958 KEYWORD nonn,base AUTHOR Harvey P. Dale. 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 February 27 12:56 EST 2024. Contains 370375 sequences. (Running on oeis4.)