login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A323800 Number of permutations p of [n] such that max_{j=1..n} |p(j)-j| = 4. 2
0, 42, 274, 1227, 4833, 18827, 75693, 304900, 1212960, 4753020, 18410363, 70943107, 272701262, 1046410914, 4007815161, 15319362279, 58456445860, 222775782355, 848216866767, 3227396592600, 12273205919568, 46650941505906, 177252609519698, 673266690295879 (list; graph; refs; listen; history; text; internal format)
OFFSET

4,2

LINKS

Alois P. Heinz, Table of n, a(n) for n = 4..1000

FORMULA

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

CROSSREFS

Column k=4 of A130152.

Cf. A002526, A072856.

Sequence in context: A300338 A064369 A234043 * A309925 A188058 A036463

Adjacent sequences:  A323797 A323798 A323799 * A323801 A323802 A323803

KEYWORD

nonn,easy

AUTHOR

Alois P. Heinz, Jan 28 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 23:50 EST 2022. Contains 350504 sequences. (Running on oeis4.)