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.

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

Table of values

n a(n)
1 2
2 1
3 12
4 6
5 3
6 24
7 28
8 14
9 7
10 40
11 20
12 10
13 5
14 56
15 60
16 30
17 15
18 72
19 36
20 18
21 9
22 4
23 92
24 46
25 23
26 11
27 108
28 54
29 27
30 13
31 124
32 62
33 31
34 136
35 68
36 34
37 17
38 8
39 156
40 78
41 39
42 19
43 172
44 86
45 43
46 21
47 188
48 94
49 47
50 200
51 100
52 50
53 25
54 216
55 220
56 110
57 55
58 232
59 116

List of values

[2, 1, 12, 6, 3, 24, 28, 14, 7, 40, 20, 10, 5, 56, 60, 30, 15, 72, 36, 18, 9, 4, 92, 46, 23, 11, 108, 54, 27, 13, 124, 62, 31, 136, 68, 34, 17, 8, 156, 78, 39, 19, 172, 86, 43, 21, 188, 94, 47, 200, 100, 50, 25, 216, 220, 110, 55, 232, 116]