login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A164886 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-2 Kaprekar map in A164884 13
1, 2, 3, 2, 3, 3, 3, 2, 3, 1, 2, 3, 2, 3, 3, 2, 3, 2, 2, 2, 2, 1, 2, 3, 2, 2, 2, 3, 2, 3, 3, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 2, 1, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 3, 3, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

COMMENTS

All base-2 cycles are fixed points, so one more than A164885.

LINKS

Joseph Myers, Table of n, a(n) for n=0..1024

Index entries for the Kaprekar map

CROSSREFS

Cf. A164884, A163205, A164885, A164887.

In other bases: A164996 (base 3), A165015 (base 4), A165035 (base 5), A165054 (base 6), A165074 (base 7), A165093 (base 8), A165113 (base 9), A151963 (base 10).

Sequence in context: A026240 A124474 A076982 * A091935 A086063 A145653

Adjacent sequences:  A164883 A164884 A164885 * A164887 A164888 A164889

KEYWORD

base,nonn

AUTHOR

Joseph Myers (jsm(AT)polyomino.org.uk), Aug 29 2009

EXTENSIONS

Cross-references edited by Joseph Myers (jsm(AT)polyomino.org.uk), Sep 04 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 12:27 EST 2012. Contains 206011 sequences.