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!)
A293043 Number of odd permutations p of {1,...,n} such that p(i) is not i or i+1. 1
0, 0, 0, 0, 2, 7, 49, 336, 2708, 24398, 244298, 2689664, 32297990, 420096141, 5883813379, 88287031264, 1412982765800, 24026200566396, 432554403678612, 8219863859175936, 164419973194802826, 3453229295483253843, 75978854506098366005, 1747670263607990439472 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
LINKS
Dmitry Efimov, Determinants of generalized binary band matrices, arXiv:1702.05655 [math.RA], 2017.
FORMULA
a(n) = (A000271(n) + (-1)^n * floor((n-1)/2))/2.
MATHEMATICA
a[n_] := (Sum[(-1)^(n-k) k! Binomial[n+k, 2 k], {k, 0, n}] + (-1)^n* Floor[(n - 1)/2])/2; Table[a[n], {n, 0, 23}] (* Jean-François Alcover, Feb 18 2019 *)
CROSSREFS
Sequence in context: A119668 A101538 A045598 * A186860 A139008 A058721
KEYWORD
nonn
AUTHOR
Eric M. Schmidt, Sep 28 2017
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 April 23 06:45 EDT 2024. Contains 371906 sequences. (Running on oeis4.)