login
A165028
Consider the base-4 Kaprekar map x->K(x) described in A165012. 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
7
0, 126, 41958
OFFSET
1,2
COMMENTS
Known values (to 200 base-4 digits):
a(1) = 0 (base 10) = 0 (base 4)
a(2) = 126 (base 10) = 1332 (base 4)
a(3) = 41958 (base 10) = 22033212 (base 4)
CROSSREFS
In other bases: A153881 (base 2), A165008 (base 3), A165047 (base 5), A165067 (base 6), A165086 (base 7), A165106 (base 8), A165126 (base 9), A151959 (base 10).
Sequence in context: A027491 A289326 A295838 * A364402 A295816 A213405
KEYWORD
base,nonn,bref
AUTHOR
Joseph Myers, Sep 04 2009
STATUS
approved