|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
LINKS
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|