Triangle read by rows: T(n,k) is the number of permutations of k elements from [1..n] where adjacent values cannot be consecutive modulo n.

A338838

Triangle read by rows: T(n,k) is the number of permutations of k elements from [1..n] where adjacent values cannot be consecutive modulo n.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =2a(5) =0a(6) =1a(7) =3a(8) =0a(9) =0a(10) =1a(11) =4a(12) =4a(13) =0a(14) =0a(15) =1a(16) =5a(17) =10a(18) =10a(19) =10a(20) =10a(21) =1a(22) =6a(23) =18a(24) =36a(25) =60a(26) =84a(27) =60a(28) =1a(29) =7

External references