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.

A165113 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-9 Kaprekar map in A165110.

Table of values

n a(n)
0 1
1 2
2 2
3 2
4 2
5 2
6 2
7 2
8 2
9 3
10 2
11 3
12 3
13 5
14 4
15 3
16 2
17 5
18 3
19 3
20 2
21 3
22 3
23 5
24 4
25 3
26 3
27 5
28 3
29 3
30 2
31 3
32 3
33 5
34 4
35 3
36 4
37 5
38 3
39 3
40 2
41 3
42 3
43 5
44 4
45 3
46 4
47 5
48 2
49 3
50 2
51 3
52 3
53 5
54 3
55 3
56 4
57 5
58 3
59 3
60 2
61 3
62 3
63 5
64 3
65 3
66 4
67 5
68 3
69 3
70 2
71 3
72 4
73 5
74 3
75 3
76 4
77 5
78 3
79 3
80 2
81 3
82 3
83 6
84 5
85 3
86 3
87 4
88 5
89 6
90 3
91 2
92 3
93 6
94 5
95 3
96 3
97 4
98 5
99 6
100 3
101 3
102 6
103 5
104 3

List of values

[1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 3, 5, 4, 3, 2, 5, 3, 3, 2, 3, 3, 5, 4, 3, 3, 5, 3, 3, 2, 3, 3, 5, 4, 3, 4, 5, 3, 3, 2, 3, 3, 5, 4, 3, 4, 5, 2, 3, 2, 3, 3, 5, 3, 3, 4, 5, 3, 3, 2, 3, 3, 5, 3, 3, 4, 5, 3, 3, 2, 3, 4, 5, 3, 3, 4, 5, 3, 3, 2, 3, 3, 6, 5, 3, 3, 4, 5, 6, 3, 2, 3, 6, 5, 3, 3, 4, 5, 6, 3, 3, 6, 5, 3]