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

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

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 | 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 September 30 17:45 EDT 2014. Contains 247475 sequences.