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.

A165093 (Length of preperiodic part) + (length of cycle) of trajectory of n under iteration of the base-8 Kaprekar map in A165090.

Table of values

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

List of values

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