login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A324365 Number of permutations p of [n] having no index i with |p(i)-i| = 3. 3
1, 1, 2, 6, 14, 53, 265, 1554, 11024, 90816, 846032, 8803826, 101011765, 1265197857, 17167351014, 250725968406, 3920074915626, 65310957981693, 1154885557082749, 21599009876309400, 425919898969718528, 8831294211199266816, 192065262001816123136 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..250

Wikipedia, Permutation

FORMULA

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

EXAMPLE

a(4) = 14: 1234, 1243, 1324, 1342, 1423, 1432, 2134, 2143, 2314, 2413, 3124, 3142, 3214, 3412.

CROSSREFS

Column k=3 of A306512.

Cf. A000142, A324366.

Sequence in context: A011455 A188491 A295974 * A192764 A055691 A072171

Adjacent sequences:  A324362 A324363 A324364 * A324366 A324367 A324368

KEYWORD

nonn

AUTHOR

Alois P. Heinz, Feb 23 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 February 20 18:30 EST 2020. Contains 332082 sequences. (Running on oeis4.)