Number of permutations of 1..n with no adjacent elements within 5 in value.
A179959
Number of permutations of 1..n with no adjacent elements within 5 in value.
Terms
- a(0) =1a(1) =1a(2) =0a(3) =0a(4) =0a(5) =0a(6) =0a(7) =0a(8) =0a(9) =0a(10) =0a(11) =0a(12) =2a(13) =352a(14) =24440a(15) =1019616a(16) =33461568a(17) =957913824a(18) =25415753280a(19) =649347224736
External references
- oeis: A179959