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.

A165014 Length of preperiodic part of trajectory of n under iteration of the base-4 Kaprekar map in A165012.

Table of values

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

List of values

[0, 1, 1, 1, 2, 1, 2, 3, 3, 2, 1, 2, 3, 3, 2, 1, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 0, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 3, 1, 1, 1, 1, 1, 2, 2, 1, 1]