The number of permutations p of {1,...,n} such that |p(i)-p(i+1)| is in {1,2,3,4,5} for all i from 1 to n-1.
A174702
The number of permutations p of {1,...,n} such that |p(i)-p(i+1)| is in {1,2,3,4,5} for all i from 1 to n-1.
Terms
- a(0) =1a(1) =2a(2) =6a(3) =24a(4) =120a(5) =720a(6) =3600a(7) =15600a(8) =61872a(9) =236388a(10) =901748a(11) =3509106a(12) =13716168a(13) =53327912a(14) =205176192a(15) =780194112a(16) =2937412512a(17) =10991746368a(18) =40961976672a(19) =152144989056a(20) =563313879080
External references
- oeis: A174702