login
A174104
Number of distinct odd values of the (n-1)-st difference of permutations of 1..n.
1
2, 2, 0, 6, 58, 22, 0, 272, 1882, 386, 9116, 1586, 44424, 94474, 0
OFFSET
2,1
COMMENTS
a(4)=a(8)=a(16)=0 because when n>2 is a power of a prime p, the (n-1)-st difference of any permutation of 1..n is a multiple of p.
CROSSREFS
Sequence in context: A366230 A168615 A334921 * A296492 A135006 A323675
KEYWORD
nonn
AUTHOR
R. H. Hardin Mar 07 2010, comment from M. F. Hasler and Max Alekseyev, on the Sequence Fans Mailing List
STATUS
approved