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!)
A179958 Number of permutations of 1..n such that |p(i)-p(i-1)| >=5 for i>1. 3
1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 160, 6056, 161136, 3661824, 76972416, 1572313392, 32096768008, 665456850864, 14144815265510, 309931658271656 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,11

COMMENTS

Permutations such that the absolute difference between adjacent elements is at least 5.

LINKS

Table of n, a(n) for n=0..20.

CROSSREFS

Sequence in context: A116638 A326488 A170992 * A272244 A178575 A069580

Adjacent sequences:  A179955 A179956 A179957 * A179959 A179960 A179961

KEYWORD

nonn

AUTHOR

R. H. Hardin, Aug 03 2010

EXTENSIONS

a(0), a(19)-a(20) from Alois P. Heinz, Oct 27 2014

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 June 13 18:45 EDT 2021. Contains 345008 sequences. (Running on oeis4.)