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.

A324366 Number of permutations p of [n] having at least one index i with |p(i)-i| = 3.

Original entry on oeis.org

0, 0, 0, 0, 10, 67, 455, 3486, 29296, 272064, 2782768, 31112974, 377989835, 4961822943, 70010940186, 1056948399594, 17002714972374, 290376470114307, 5247488148645251, 100046090532522600, 2006982109206921472, 42259647960510173184, 931935465775791556864
Offset: 0

Views

Author

Alois P. Heinz, Feb 23 2019

Keywords

Examples

			a(4) = 10: 2341, 2431, 3241, 3421, 4123, 4132, 4213, 4231, 4312, 4321.
		

Crossrefs

Column k=3 of A306506.

Formula

a(n) = n! - A324365(n).