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.

A172022 a(n) = prime(n) + (-1)^n.

Table of values

n a(n)
1 1
2 4
3 4
4 8
5 10
6 14
7 16
8 20
9 22
10 30
11 30
12 38
13 40
14 44
15 46
16 54
17 58
18 62
19 66
20 72
21 72
22 80
23 82
24 90
25 96
26 102
27 102
28 108
29 108
30 114
31 126
32 132
33 136
34 140
35 148
36 152
37 156
38 164
39 166
40 174
41 178
42 182
43 190
44 194
45 196
46 200
47 210
48 224
49 226
50 230
51 232
52 240
53 240
54 252
55 256
56 264
57 268
58 272
59 276

List of values

[1, 4, 4, 8, 10, 14, 16, 20, 22, 30, 30, 38, 40, 44, 46, 54, 58, 62, 66, 72, 72, 80, 82, 90, 96, 102, 102, 108, 108, 114, 126, 132, 136, 140, 148, 152, 156, 164, 166, 174, 178, 182, 190, 194, 196, 200, 210, 224, 226, 230, 232, 240, 240, 252, 256, 264, 268, 272, 276]