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!)
A369098 Number of permutations of [n] having exactly one adjacent 4-cycle. 2
0, 0, 0, 0, 1, 2, 6, 24, 118, 714, 5016, 40200, 362163, 3623772, 39876540, 478639080, 6223394516, 87138394540, 1307195547720, 20916564680760, 355600269756485, 6401066270800350, 121624180731849810, 2432546364331038480, 51084540451761077514, 1123879093137556106358 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
LINKS
R. A. Brualdi and Emeric Deutsch, Adjacent q-cycles in permutations, arXiv:1005.0781 [math.CO], 2010.
FORMULA
G.f.: Sum_{k>=1} k! * x^(k+3) / (1+x^4)^(k+1).
a(n) = Sum_{k=0..floor(n/4)-1} (-1)^k * (n-3*k-3)! / k!.
EXAMPLE
The permutations of {1,2,3,4,5} having exactly one adjacent 4-cycle are (1234)(5) and (1)(2345). So a(5) = 2.
PROG
(PARI) my(N=30, x='x+O('x^N)); concat([0, 0, 0, 0], Vec(sum(k=1, N, k!*x^(k+3)/(1+x^4)^(k+1))))
(PARI) a(n, k=1, q=4) = sum(j=0, n\q-k, (-1)^j*(n-(q-1)*(j+k))!/j!)/k!;
CROSSREFS
Column k=4 of A370527.
Column k=1 of A177252.
Sequence in context: A248837 A005394 A095818 * A264781 A224316 A256195
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 24 2024
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 May 3 17:12 EDT 2024. Contains 372221 sequences. (Running on oeis4.)