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.

A097026 Function f(x) = phi(x) + floor(x/2) is iterated, starting at x=n; a(n) is the length of terminal cycle (or 0 if no finite cycle exists).

Table of values

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

List of values

[1, 1, 1, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 4, 1, 1, 1, 2, 1, 4, 4, 2, 1, 4, 4, 2, 4, 2, 2, 6, 4, 2, 4, 6, 4, 2, 2, 6, 4, 6, 2, 1, 2, 6, 2, 6, 2, 1, 1, 6, 2, 6, 6, 6, 1, 2, 6, 6, 6, 6, 6, 6, 2, 6, 6, 6, 6, 6, 6, 6, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6]