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.

A254220 Number of length 3 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 1
3 3
4 11
5 12
6 32
7 48
8 86
9 98
10 172
11 183
12 295
13 383
14 525
15 559
16 793
17 829
18 1110
19 1324
20 1646
21 1709
22 2199
23 2531
24 3056
25 3469
26 4088
27 4240
28 5109
29 5232
30 6062
31 6762
32 7716
33 8528
34 9788
35 9981
36 11227
37 12290
38 13721
39 14030
40 15841
41 16146
42 17912
43 19384
44 21355
45 21760
46 24188

List of values

[0, 1, 3, 11, 12, 32, 48, 86, 98, 172, 183, 295, 383, 525, 559, 793, 829, 1110, 1324, 1646, 1709, 2199, 2531, 3056, 3469, 4088, 4240, 5109, 5232, 6062, 6762, 7716, 8528, 9788, 9981, 11227, 12290, 13721, 14030, 15841, 16146, 17912, 19384, 21355, 21760, 24188]