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!)
A229229 Number of set partitions of {1,...,n^2} into sets of size at most n. 3
1, 1, 10, 12644, 6631556521, 3282701194678476257, 3025262978042089315465899013351, 9292286146024114784457467780130028866860171013, 158655194198118596873150397161518177395553186289541468458000908304 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = (n^2)! * [x^(n^2)] exp(Sum_{j=1..n} x^j/j!).
a(n) = A229223(n^2,n).
EXAMPLE
a(2) = 10: 1/2/3/4, 12/3/4, 13/2/4, 14/2/3, 1/23/4, 1/24/3, 1/2/34, 12/34, 13/24, 14/23.
MAPLE
G:= proc(n, k) option remember; local j; if k>n then G(n, n)
elif n=0 then 1 elif k<1 then 0 else G(n-k, k);
for j from k-1 to 1 by -1 do %*(n-j)/j +G(n-j, k) od; % fi
end:
a:= n-> G(n^2, n):
seq(a(n), n=0..10);
MATHEMATICA
G[n_, k_] := G[n, k] = Module[{j, pc}, Which[k>n, G[n, n], n==0, 1, k<1, 0, True, pc = G[n-k, k]; For[j = k-1, j >= 1, j--, pc = pc*(n-j)/j + G[n-j, k]]; pc]]; a[n_] := G[n^2, n]; Table[a[n], {n, 0, 10}] (* Jean-François Alcover, Feb 15 2017, translated from Maple *)
CROSSREFS
Main diagonal of A229243.
Cf. A229223.
Sequence in context: A267887 A151582 A318794 * A190946 A052498 A179425
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Sep 16 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 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)