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.

A165074 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-7 Kaprekar map in A165071.

Table of values

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

List of values

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