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.

A066033 Alternating sum of primes: a(1) = A000040(1) = 2 and a(n) = a(n-1) + A000040(n)*(-1)^n for n > 1.

Table of values

n a(n)
1 2
2 5
3 0
4 7
5 -4
6 9
7 -8
8 11
9 -12
10 17
11 -14
12 23
13 -18
14 25
15 -22
16 31
17 -28
18 33
19 -34
20 37
21 -36
22 43
23 -40
24 49
25 -48
26 53
27 -50
28 57
29 -52
30 61
31 -66
32 65
33 -72
34 67
35 -82
36 69
37 -88
38 75
39 -92
40 81
41 -98
42 83
43 -108
44 85
45 -112
46 87
47 -124
48 99
49 -128
50 101
51 -132
52 107
53 -134
54 117
55 -140
56 123
57 -146
58 125
59 -152
60 129
61 -154
62 139
63 -168
64 143
65 -170
66 147
67 -184
68 153

List of values

[2, 5, 0, 7, -4, 9, -8, 11, -12, 17, -14, 23, -18, 25, -22, 31, -28, 33, -34, 37, -36, 43, -40, 49, -48, 53, -50, 57, -52, 61, -66, 65, -72, 67, -82, 69, -88, 75, -92, 81, -98, 83, -108, 85, -112, 87, -124, 99, -128, 101, -132, 107, -134, 117, -140, 123, -146, 125, -152, 129, -154, 139, -168, 143, -170, 147, -184, 153]