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.

A081171 Triangle in which n-th row gives trajectory of n (including n itself) under the map x -> x/2 if x is even, x -> 3x-3 if x is odd, stopping when reaching one of 1, 3, 5, 15, 51.

Table of values

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

List of values

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