Triangle read by rows: T(n,k), n>=2, 1 <= k <= n-1, is the number of permutations in S_n in which there are k different values for the values mod n of the differences between adjacent elements when written in row notation.

A294789

Triangle read by rows: T(n,k), n>=2, 1 <= k <= n-1, is the number of permutations in S_n in which there are k different values for the values mod n of the differences between adjacent elements when written in row notation.

Terms

    a(0) =2a(1) =6a(2) =0a(3) =8a(4) =0a(5) =16a(6) =20a(7) =0a(8) =100a(9) =0a(10) =12a(11) =60a(12) =288a(13) =288a(14) =72a(15) =42a(16) =0a(17) =1764a(18) =882a(19) =2352a(20) =0a(21) =32a(22) =96a(23) =3584a(24) =10112a(25) =18816a(26) =6912a(27) =768a(28) =54a(29) =162

External references