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.

A128333 a(0) = 0; for n > 0, a(n) = a(n-1)/2 if that number is an integer and not already in the sequence, otherwise a(n) = 3*a(n-1) + 1.

Table of values

n a(n)
0 0
1 1
2 4
3 2
4 7
5 22
6 11
7 34
8 17
9 52
10 26
11 13
12 40
13 20
14 10
15 5
16 16
17 8
18 25
19 76
20 38
21 19
22 58
23 29
24 88
25 44
26 133
27 400
28 200
29 100
30 50
31 151
32 454
33 227
34 682
35 341
36 1024
37 512
38 256
39 128
40 64
41 32
42 97
43 292
44 146
45 73
46 220
47 110
48 55
49 166
50 83
51 250
52 125
53 376
54 188
55 94
56 47
57 142
58 71
59 214
60 107
61 322
62 161

List of values

[0, 1, 4, 2, 7, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 25, 76, 38, 19, 58, 29, 88, 44, 133, 400, 200, 100, 50, 151, 454, 227, 682, 341, 1024, 512, 256, 128, 64, 32, 97, 292, 146, 73, 220, 110, 55, 166, 83, 250, 125, 376, 188, 94, 47, 142, 71, 214, 107, 322, 161]