The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
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

%I #5 Mar 30 2012 16:51:07

%S 8127,7443,3996,6264,4176,6174,6174,6174,6174,6174,6174,6174,6174,

%T 6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,

%U 6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174,6174

%N 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).

%C Similar in spirit to the RATS (Reverse, Add Then Sort) sequences.

%C Converges to the fixed point 6174. For the list of fixed points see A099009.

%C The initial value 1001 is the smallest number that converges to 6174 - see A151967.

%H John Tierney, <a href="http://nytimes.com/tierneylab">"TierneyLab" column, New York Times, Section C, Aug 18 2009</a>

%H <a href="/index/K#Kaprekar_map">Index entries for the Kaprekar map</a>

%H <a href="/index/Ra#RATS">Index entries for RATS sequences</a>

%Y Cf. A099009, A151947, A151949, A151951, A151955, A151956, A151967. A151968.

%K nonn,base

%O 1,1

%A _N. J. A. Sloane_, Aug 18 2009

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 06:07 EDT 2024. Contains 372528 sequences. (Running on oeis4.)