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.

A165054 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-6 Kaprekar map in A165051.

Table of values

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

List of values

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