login
A164996
(Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-3 Kaprekar map in A164993
10
1, 2, 2, 3, 2, 3, 3, 3, 2, 3, 3, 4, 3, 2, 3, 4, 3, 3, 4, 4, 4, 4, 3, 3, 4, 3, 2, 3, 3, 4, 3, 3, 2, 4, 3, 4, 3, 3, 3, 3, 2, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 2, 3, 3, 4, 4, 4, 3, 4, 4, 4, 3, 4, 3, 4, 3, 3, 3, 4, 3, 3, 4, 4, 3, 4, 3, 3, 3, 3, 2, 3, 3, 2, 3, 3, 2, 2, 2, 3, 3, 3, 2, 3, 3, 4, 2, 4, 2, 2, 2, 3, 2, 4, 2
OFFSET
0,2
CROSSREFS
In other bases: A164886 (base 2), A165015 (base 4), A165035 (base 5), A165054 (base 6), A165074 (base 7), A165093 (base 8), A165113 (base 9), A151963 (base 10).
Sequence in context: A081308 A070210 A100198 * A216195 A304333 A136510
KEYWORD
base,nonn
AUTHOR
Joseph Myers, Sep 04 2009
STATUS
approved