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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 10 19:22 EST 2016. Contains 279006 sequences.