login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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