Consider the base-5 Kaprekar map x->K(x) described in A165032. 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.

A165047

Consider the base-5 Kaprekar map x->K(x) described in A165032. 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.

Terms

    a(0) =0a(1) =48a(2) =45781056a(3) =1992a(4) =7488a(5) =249992a(7) =170312312

External references