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!)
A224289 Number of permutations of length n containing exactly 1 occurrence of 123 and 2 occurrences of 132. 0
0, 0, 0, 2, 8, 26, 79, 232, 664, 1856, 5072, 13568, 35584, 91648, 232192, 579584, 1427456, 3473408, 8359936, 19922944, 47054848, 110231552, 256311296, 591921152, 1358430208, 3099590656, 7034896384, 15888023552, 35718692864, 79960211456, 178291474432, 396076515328, 876844417024 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = 2^(-8+n)*(-136+70*n-11*n^2+n^3) for n>3. G.f.: -x^4*(x^3-10*x^2+8*x-2) / (2*x-1)^4. - Colin Barker, Apr 14 2013
MAPLE
# Programs can be obtained from author's personal website.
MATHEMATICA
LinearRecurrence[{8, -24, 32, -16}, {0, 0, 0, 2, 8, 26, 79}, 40] (* Harvey P. Dale, Jun 23 2017 *)
CROSSREFS
Sequence in context: A325926 A097040 A302237 * A124721 A279735 A103453
KEYWORD
nonn,easy
AUTHOR
Brian Nakamura, Apr 03 2013
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)