A151959 Consider the Kaprekar map x->K(x) described in A151949. Sequence gives the smallest number that belongs to a cycle of length n under repeated iteration of this map, or -1 if there is no cycle of length n.
0, 53955, 64308654, 61974, 86420987532
Offset: 1
Examples
a(1) = 0: 0 -> 0. a(2) = 53955: 53955 -> 59994 -> 53955 -> ... a(3) = 64308654: 64308654 -> 83208762 -> 86526432 -> 64308654 -> ... a(4) = 61974: 61974 -> 82962 -> 75933 -> 63954 -> 61974 -> ...
Links
- R. J. Mathar, Maple code for A151949 and A151959
- Joseph Myers, List of cycles under Kaprekar map (all numbers with <= 60 digits; cycles are represented by their smallest value)
- Index entries for the Kaprekar map
Crossrefs
Extensions
The term a(3) = 64308654 was initially only a conjecture, but was confirmed by Zak Seidov, Aug 19 2009
a(4) = 61974 corrected by R. J. Mathar, Aug 19 2009 (we had not given the smallest member of the 4-cycle).
a(4) = 61974, a(7) = 420876, and a(8) = 7509843 confirmed by Zak Seidov, Aug 19 2009 (formerly the a(8) value was just an upper bound)
a(5) = 86420987532 and a(14) = 753098643 from Joseph Myers, Aug 19 2009. He also confirms the other values, and remarks that there are no other cycle lengths up to at least 140 digits.
Comments