login
A151947
a(1) = 113; 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
113, 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
OFFSET
1,1
COMMENTS
Converges to the fixed point 495. For the list of fixed points see A099009.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Aug 18 2009
STATUS
approved