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.

A081170 Triangle in which n-th row gives trajectory of n (including n itself) under the map x -> x/2 if x is even, x -> x-3 if x is odd, stopping when reach 0 or 1.

Table of values

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

List of values

[3, 0, 4, 2, 1, 5, 2, 1, 6, 3, 0, 7, 4, 2, 1, 8, 4, 2, 1, 9, 6, 3, 0, 10, 5, 2, 1, 11, 8, 4, 2, 1, 12, 6, 3, 0, 13, 10, 5, 2, 1, 14, 7, 4, 2, 1, 15, 12, 6, 3, 0, 16, 8, 4, 2, 1, 17, 14, 7, 4, 2, 1, 18, 9, 6, 3, 0, 19, 16, 8, 4, 2, 1, 20, 10, 5, 2, 1, 21, 18, 9, 6, 3, 0, 22, 11, 8, 4, 2, 1, 23, 20, 10, 5, 2]