login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A116219 If X_1,...,X_n is a partition of a 3n-set X into 3-blocks then a(n) is equal to the number of permutations f of X such that f(X_i) <> X_i, (i=1,...,n). 3
0, 684, 350352, 470444112, 1293433432704, 6355554535465920, 50823027472983319296, 618002474327361540442368, 10855431334634213344062394368, 264600531449039456516679858441216, 8665832467934840277899318819803484160, 371368757645100314808527266212241861300224 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..149

Milan Janjic, Enumerative Formulas for Some Functions on Finite Sets

FORMULA

a(n) = Sum_{j=0..n} (-6)^j*binomial(n,j)*(3*n-3*j)!.

MAPLE

a:=n->sum((-6)^i*binomial(n, i)*(3*n-3*i)!, i=0..n).

MATHEMATICA

Table[Sum[(-6)^i*Binomial[n, i]*(3*n - 3*i)!, {i, 0, n}], {n, 1, 20}] (* G. C. Greubel, May 11 2019 *)

PROG

(PARI) {a(n) = sum(j=0, n, (-6)^j*binomial(n, j)*(3*(n-j))!)}; \\ G. C. Greubel, May 11 2019

(MAGMA) [(&+[(-6)^j*Binomial(n, j)*Factorial(3*n-3*j): j in [0..n]]): n in [1..20]]; // G. C. Greubel, May 11 2019

(Sage) [sum((-6)^j*binomial(n, j)*factorial(3*n-3*j) for j in (0..n)) for n in (1..20)] # G. C. Greubel, May 11 2019

(GAP) List([1..20], n-> Sum([0..n], j-> (-6)^j*Binomial(n, j)* Factorial(3*n-3*j))) # G. C. Greubel, May 11 2019

CROSSREFS

Cf. A116218, A116220, A116221, A127888.

Sequence in context: A254071 A022050 A107514 * A232199 A222751 A234817

Adjacent sequences:  A116216 A116217 A116218 * A116220 A116221 A116222

KEYWORD

nonn

AUTHOR

Milan Janjic, Apr 09 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 26 01:49 EDT 2021. Contains 346294 sequences. (Running on oeis4.)