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.

A050137 a(1)=2; a(n) = floor(a(n-1)/2) if this is not among 0,a(1),...,a(n-1); otherwise a(n) = 2*n.

Table of values

n a(n)
1 2
2 1
3 6
4 3
5 10
6 5
7 14
8 7
9 18
10 9
11 4
12 24
13 12
14 28
15 30
16 15
17 34
18 17
19 8
20 40
21 20
22 44
23 22
24 11
25 50
26 25
27 54
28 27
29 13
30 60
31 62
32 31
33 66
34 33
35 16
36 72
37 36
38 76
39 38
40 19
41 82
42 41
43 86
44 43
45 21
46 92
47 46
48 23
49 98
50 49
51 102
52 51
53 106
54 53
55 26
56 112
57 56
58 116
59 58
60 29
61 122
62 61

List of values

[2, 1, 6, 3, 10, 5, 14, 7, 18, 9, 4, 24, 12, 28, 30, 15, 34, 17, 8, 40, 20, 44, 22, 11, 50, 25, 54, 27, 13, 60, 62, 31, 66, 33, 16, 72, 36, 76, 38, 19, 82, 41, 86, 43, 21, 92, 46, 23, 98, 49, 102, 51, 106, 53, 26, 112, 56, 116, 58, 29, 122, 61]