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.

A165092 Length of preperiodic part of trajectory of n under iteration of the base-8 Kaprekar map in A165090.

Table of values

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

List of values

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