login
This site is supported by donations to The OEIS Foundation.

 

Logo

Many excellent designs for a new banner were submitted. We will use the best of them in rotation.

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: A145578 A006316 A053326 * A044334 A044715 A197816

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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified April 19 21:10 EDT 2014. Contains 240777 sequences.