|
|
A151956
|
|
a(1) = 1002; 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
|
|
|
1002, 2088, 8532, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174, 6174
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
For the list of fixed points see A099009.
|
|
LINKS
|
Table of n, a(n) for n=1..39.
Index entries for the Kaprekar map
|
|
CROSSREFS
|
Cf. A099009, A151947, A151949, A151950, A069746, A151955, A151951, A151957.
Sequence in context: A262596 A213316 A169828 * A111349 A182935 A013686
Adjacent sequences: A151953 A151954 A151955 * A151957 A151958 A151959
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Harvey P. Dale, Aug 18 2009
|
|
STATUS
|
approved
|
|
|
|