OFFSET
0,3
COMMENTS
a(2n) and a(2n+1) are both divisible by 2^n n! a(2n) = 2n a(2n-1) The number of pi in S_n such that maj pi and maj pi^(-1) are both even is exactly half of a(n)
LINKS
H. Barcelo, B. Sagan and S. Sundaram, Counting permutations by congruence class of major index, preprint, 2005.
H. Barcelo, B. Sagan and S. Sundaram, Counting permutations by congruence class of major index, Advances in Applied Mathematics, Volume 39, Issue 2, August 2007, Pages 269-281.
FORMULA
a(2n) = 2 n^2 a(2n-2) + 2 n (n-1) b(2n-2) and a(2n+1) = 2 n (n+1) a(2n-1) + 2 n^2 b(2n-1) where b(n) is sequence A113248
EXAMPLE
a(3)=4 because the following 4 permutations in S_3 have the same parity for their major index and the major index of their inverse (and in fact are equal to their inverse): 123, 213, 321, 132.
CROSSREFS
KEYWORD
nonn
AUTHOR
Bruce E. Sagan, Oct 20 2005
STATUS
approved