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.

A254222 Number of length 5 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 1
2 2
3 8
4 56
5 70
6 373
7 766
8 2056
9 2803
10 6705
11 8187
12 16545
13 24733
14 41212
15 48532
16 81412
17 92845
18 144041
19 189040
20 265403
21 297177
22 431956
23 529070
24 713448
25 869044
26 1126558
27 1239341
28 1658996
29 1795709
30 2254484
31 2659181
32 3286796
33 3820778
34 4762245
35 5091242

List of values

[1, 2, 8, 56, 70, 373, 766, 2056, 2803, 6705, 8187, 16545, 24733, 41212, 48532, 81412, 92845, 144041, 189040, 265403, 297177, 431956, 529070, 713448, 869044, 1126558, 1239341, 1658996, 1795709, 2254484, 2659181, 3286796, 3820778, 4762245, 5091242]