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.

A116980 Number of ways to arrange integers 1...n so that the sum of each adjacent pair is a triangular number, not counting reversals.

Table of values

n a(n)
0 1
1 1
2 1
3 0
4 0
5 0
6 0
7 0
8 0
9 1
10 1
11 4
12 19
13 23
14 16
15 43
16 59
17 66
18 127
19 492
20 886
21 964
22 2595
23 11426
24 36780
25 78070
26 131232
27 423402
28 1302893
29 3356226
30 6673924
31 16604441
32 32195439
33 69328860

List of values

[1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 4, 19, 23, 16, 43, 59, 66, 127, 492, 886, 964, 2595, 11426, 36780, 78070, 131232, 423402, 1302893, 3356226, 6673924, 16604441, 32195439, 69328860]