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.

A002527 Number of permutations p on the set [n] with the properties that abs(p(i)-i) <= 3 for all i and p(1) <= 3.

Table of values

n a(n)
0 0
1 1
2 2
3 6
4 18
5 60
6 184
7 560
8 1695
9 5200
10 15956
11 48916
12 149664
13 458048
14 1402360
15 4294417
16 13149210
17 40259178
18 123260854
19 377395940
20 1155508592
21 3537919648
22 10832298239
23 33165996032
24 101546731816
25 310913195800
26 951945967120
27 2914642812096
28 8923975209168

List of values

[0, 1, 2, 6, 18, 60, 184, 560, 1695, 5200, 15956, 48916, 149664, 458048, 1402360, 4294417, 13149210, 40259178, 123260854, 377395940, 1155508592, 3537919648, 10832298239, 33165996032, 101546731816, 310913195800, 951945967120, 2914642812096, 8923975209168]