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.

A078720 Integer part of the ratio of even to odd terms among n, f(n), f(f(n)), ...., 1 for the Collatz function (that is, until reaching "1" for the first time), or -1 if 1 is never reached.

Table of values

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

List of values

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