Number of pairs of consecutive non-fixed points in all permutations of {1,2,...,n}.

A162968

Number of pairs of consecutive non-fixed points in all permutations of {1,2,...,n}.

Terms

    a(0) =1a(1) =6a(2) =42a(3) =312a(4) =2520a(5) =22320a(6) =216720a(7) =2298240a(8) =26490240a(9) =330220800a(10) =4430764800a(11) =63707212800a(12) =977642265600

External references