login
Number of permutations of 1..n such that |p(i)-p(i-1)| >=5 for i>1.
3

%I #9 Oct 27 2014 09:49:57

%S 1,1,0,0,0,0,0,0,0,0,2,160,6056,161136,3661824,76972416,1572313392,

%T 32096768008,665456850864,14144815265510,309931658271656

%N Number of permutations of 1..n such that |p(i)-p(i-1)| >=5 for i>1.

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

%K nonn

%O 0,11

%A _R. H. Hardin_, Aug 03 2010

%E a(0), a(19)-a(20) from _Alois P. Heinz_, Oct 27 2014