cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

0, 126, 41958
Offset: 1

Views

Author

Joseph Myers, Sep 04 2009

Keywords

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).