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.

A165034 Length of preperiodic part of trajectory of n under iteration of the base-5 Kaprekar map in A165032.

Table of values

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

List of values

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