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.

A323800 Number of permutations p of [n] such that max_{j=1..n} |p(j)-j| = 4.

Original entry on oeis.org

0, 42, 274, 1227, 4833, 18827, 75693, 304900, 1212960, 4753020, 18410363, 70943107, 272701262, 1046410914, 4007815161, 15319362279, 58456445860, 222775782355, 848216866767, 3227396592600, 12273205919568, 46650941505906, 177252609519698, 673266690295879
Offset: 4

Views

Author

Alois P. Heinz, Jan 28 2019

Keywords

Crossrefs

Column k=4 of A130152.

Formula

a(n) = A072856(n) - A002526(n).