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.

A222532 a(1)=2; for n >= 1, a(n+1) is the least prime p_m such that a(n)=p_m-p_{m-1}+...+(-1)^{m-k}p_k for some 0

Table of values

n a(n)
1 2
2 5
3 7
4 13
5 17
6 23
7 31
8 37
9 43
10 53
11 59
12 67
13 73
14 83
15 89
16 101
17 109
18 113
19 131
20 149
21 157
22 163
23 173
24 179
25 197
26 223
27 257
28 263
29 269
30 277
31 283
32 311
33 347
34 389
35 401
36 421
37 431
38 487
39 503
40 523
41 557
42 569
43 577
44 601
45 613
46 641
47 661
48 709
49 733
50 739
51 773
52 823
53 827
54 857
55 883
56 929
57 947
58 953
59 977
60 983
61 997
62 1009
63 1019
64 1031
65 1039
66 1051
67 1097
68 1117
69 1129
70 1151
71 1181
72 1223
73 1229
74 1237
75 1249
76 1279
77 1327
78 1361
79 1373
80 1423
81 1459
82 1481
83 1499
84 1543
85 1559
86 1571
87 1601
88 1621
89 1627
90 1669
91 1693
92 1699
93 1721
94 1733
95 1759
96 1783
97 1823
98 1873
99 1973
100 2011

List of values

[2, 5, 7, 13, 17, 23, 31, 37, 43, 53, 59, 67, 73, 83, 89, 101, 109, 113, 131, 149, 157, 163, 173, 179, 197, 223, 257, 263, 269, 277, 283, 311, 347, 389, 401, 421, 431, 487, 503, 523, 557, 569, 577, 601, 613, 641, 661, 709, 733, 739, 773, 823, 827, 857, 883, 929, 947, 953, 977, 983, 997, 1009, 1019, 1031, 1039, 1051, 1097, 1117, 1129, 1151, 1181, 1223, 1229, 1237, 1249, 1279, 1327, 1361, 1373, 1423, 1459, 1481, 1499, 1543, 1559, 1571, 1601, 1621, 1627, 1669, 1693, 1699, 1721, 1733, 1759, 1783, 1823, 1873, 1973, 2011]