The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 22:26 EDT 2024. Contains 373110 sequences. (Running on oeis4.)