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.

A232798 Sequence (or tree) generated by these rules: 1 is in S, and if x is in S, then x + 1, 3*x - 1 and 3*x + 1 are in S, and duplicates are deleted as they occur.

Table of values

n a(n)
1 1
2 2
3 4
4 3
5 5
6 7
7 11
8 13
9 8
10 10
11 6
12 14
13 16
14 20
15 22
16 12
17 32
18 34
19 38
20 40
21 9
22 23
23 25
24 29
25 31
26 17
27 19
28 15
29 41
30 43
31 47
32 49
33 21
34 59
35 61
36 65
37 67
38 35
39 37
40 33
41 95
42 97
43 101
44 103
45 39
46 113
47 115
48 119
49 121
50 26
51 28
52 24
53 68
54 70
55 74
56 76
57 30
58 86
59 88
60 92
61 94
62 18
63 50
64 52
65 56

List of values

[1, 2, 4, 3, 5, 7, 11, 13, 8, 10, 6, 14, 16, 20, 22, 12, 32, 34, 38, 40, 9, 23, 25, 29, 31, 17, 19, 15, 41, 43, 47, 49, 21, 59, 61, 65, 67, 35, 37, 33, 95, 97, 101, 103, 39, 113, 115, 119, 121, 26, 28, 24, 68, 70, 74, 76, 30, 86, 88, 92, 94, 18, 50, 52, 56]