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.

A254219 Number of length 2 1..(n+2) arrays with no leading or trailing partial sum equal to a prime and no consecutive values equal.

Table of values

n a(n)
1 0
2 0
3 0
4 2
5 2
6 8
7 12
8 18
9 18
10 28
11 28
12 40
13 50
14 64
15 64
16 82
17 82
18 102
19 118
20 136
21 136
22 164
23 182
24 210
25 232
26 260
27 260
28 296
29 296
30 328
31 356
32 392
33 424
34 466
35 466
36 506
37 542
38 586
39 586
40 638
41 638
42 686
43 728
44 778
45 778
46 838
47 884
48 944
49 994
50 1050
51 1050
52 1118
53 1168
54 1236
55 1290
56 1352
57 1352

List of values

[0, 0, 0, 2, 2, 8, 12, 18, 18, 28, 28, 40, 50, 64, 64, 82, 82, 102, 118, 136, 136, 164, 182, 210, 232, 260, 260, 296, 296, 328, 356, 392, 424, 466, 466, 506, 542, 586, 586, 638, 638, 686, 728, 778, 778, 838, 884, 944, 994, 1050, 1050, 1118, 1168, 1236, 1290, 1352, 1352]