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.

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

List of values

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