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.

A080456 a(1) = a(2) = 2; for n > 2, a(n) = a(n-1) if n is already in the sequence, a(n) = a(n-1) + 4 otherwise.

Table of values

n a(n)
1 2
2 2
3 6
4 10
5 14
6 18
7 18
8 22
9 26
10 30
11 30
12 34
13 38
14 42
15 42
16 46
17 50
18 54
19 54
20 58
21 62
22 66
23 66
24 70
25 74
26 78
27 78
28 82
29 86
30 90
31 90
32 94
33 98
34 102
35 102
36 106
37 110
38 114
39 114
40 118
41 122
42 126
43 126
44 130
45 134
46 138
47 138
48 142
49 146
50 150
51 150
52 154
53 158
54 162
55 162
56 166
57 170
58 174
59 174

List of values

[2, 2, 6, 10, 14, 18, 18, 22, 26, 30, 30, 34, 38, 42, 42, 46, 50, 54, 54, 58, 62, 66, 66, 70, 74, 78, 78, 82, 86, 90, 90, 94, 98, 102, 102, 106, 110, 114, 114, 118, 122, 126, 126, 130, 134, 138, 138, 142, 146, 150, 150, 154, 158, 162, 162, 166, 170, 174, 174]