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.

A165015 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-4 Kaprekar map in A165012.

Table of values

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

List of values

[1, 2, 2, 2, 3, 2, 3, 4, 4, 3, 2, 3, 4, 4, 3, 2, 3, 3, 2, 3, 3, 2, 3, 2, 2, 3, 3, 2, 3, 2, 1, 2, 2, 2, 2, 3, 2, 3, 3, 2, 2, 3, 2, 3, 3, 2, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 3, 2, 3, 3, 3, 2, 3, 2, 3, 3, 3, 2, 3, 3, 3, 4, 3, 3, 3, 2, 2, 4, 2, 4, 3, 3, 3, 4, 3, 2, 3, 3, 3, 3, 3, 3, 4, 3, 3, 4, 3, 3, 3, 2, 3, 3, 3, 3, 3]