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.

A132178 Triangle read by rows: T(n,m) is the number of cyclic permutations of [n] in which m of successive numbers add to a prime. 0<=m<=n, read by rows n>=0.

Table of values

n a(n)
0 0
1 0
2 1
3 0
4 0
5 1
6 0
7 0
8 1
9 0
10 0
11 0
12 2
13 0
14 1
15 0
16 2
17 4
18 4
19 2
20 0
21 1
22 6
23 19
24 16
25 15
26 2
27 1
28 6
29 36
30 84
31 108
32 90
33 24
34 12
35 0
36 44
37 230
38 542
39 722
40 602
41 266
42 98
43 14
44 2
45 208
46 1284
47 3478
48 5272
49 5202
50 3004
51 1378
52 264
53 70
54 0
55 912
56 6856
57 21784
58 39496
59 46816
60 35680
61 20824
62 6616
63 2224
64 184
65 48

List of values

[0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 2, 0, 1, 0, 2, 4, 4, 2, 0, 1, 6, 19, 16, 15, 2, 1, 6, 36, 84, 108, 90, 24, 12, 0, 44, 230, 542, 722, 602, 266, 98, 14, 2, 208, 1284, 3478, 5272, 5202, 3004, 1378, 264, 70, 0, 912, 6856, 21784, 39496, 46816, 35680, 20824, 6616, 2224, 184, 48]