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.

A050138 a(1)=2, a(2)=6. For n >= 2, a(n) = floor(a(n-1)/2) if this is not among 0,a(1),...,a(n-1); otherwise a(n) = 3*n.

Table of values

n a(n)
1 2
2 6
3 3
4 1
5 15
6 7
7 21
8 10
9 5
10 30
11 33
12 16
13 8
14 4
15 45
16 22
17 11
18 54
19 27
20 13
21 63
22 31
23 69
24 34
25 17
26 78
27 39
28 19
29 9
30 90
31 93
32 46
33 23
34 102
35 51
36 25
37 12
38 114
39 57
40 28
41 14
42 126
43 129
44 64
45 32
46 138
47 141
48 70
49 35
50 150
51 75
52 37
53 18
54 162
55 81
56 40
57 20
58 174
59 87
60 43

List of values

[2, 6, 3, 1, 15, 7, 21, 10, 5, 30, 33, 16, 8, 4, 45, 22, 11, 54, 27, 13, 63, 31, 69, 34, 17, 78, 39, 19, 9, 90, 93, 46, 23, 102, 51, 25, 12, 114, 57, 28, 14, 126, 129, 64, 32, 138, 141, 70, 35, 150, 75, 37, 18, 162, 81, 40, 20, 174, 87, 43]