login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
0,11
COMMENTS
Permutations such that the absolute difference between adjacent elements is at least 5.
CROSSREFS
Sequence in context: A326488 A170992 A378781 * A272244 A178575 A069580
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