Number of permutations p of [n] such that (n-p(i)+i) mod n >= 4 for all i.

A004307

Number of permutations p of [n] such that (n-p(i)+i) mod n >= 4 for all i.

Terms

    a(0) =0a(1) =1a(2) =2a(3) =31a(4) =264a(5) =2783a(6) =30818a(7) =369321a(8) =4745952a(9) =65275999a(10) =957874226a(11) =14951584189a(12) =247524019720

External references