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.

A291504 Number of permutations s_1,s_2,...,s_n of 1,2,...,n such that for all j=1,2,...,n, Sum_{i=1..j} s_i is not a prime.

Table of values

n a(n)
0 1
1 1
2 0
3 1
4 3
5 8
6 48
7 206
8 1838
9 13336
10 133764
11 1081556
12 11046816
13 108196128
14 1555323224
15 16279258144
16 289771660328
17 3495882548784
18 66923393467216
19 942785369844048
20 15625264115770992
21 315553823251866304
22 5974132307015712032
23 104979988889030774848

List of values

[1, 1, 0, 1, 3, 8, 48, 206, 1838, 13336, 133764, 1081556, 11046816, 108196128, 1555323224, 16279258144, 289771660328, 3495882548784, 66923393467216, 942785369844048, 15625264115770992, 315553823251866304, 5974132307015712032, 104979988889030774848]