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!)
A318617 a(n) is the number of rooted labeled forests on n nodes that avoid the patterns 213, 231, and 312. 2
1, 1, 3, 13, 73, 503, 4107, 38773, 415589, 4986715, 66238503, 965102769, 15306905817, 262567910999, 4844199561787, 95660129298709, 2013392566243565, 44997370759528091, 1064283567185090791, 26560710262784693097, 697529916604465424553 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
K. Anders and K. Archer, Rooted forests that avoid sets of permutations, arXiv:1607.03046 [math.CO], 2017.
FORMULA
a(n) = Sum_{k=1..n} Sum_{r=1..k} binomial(n-1,k-1)*(r-1)!*a(n-k)*a(k-r) for n>0, a(0)=1.
MATHEMATICA
a[0] = 1; a[n_] := a[n] = Sum[Binomial[n-1, k-1] (r-1)! a[n-k] a[k-r], {k, 1, n}, {r, 1, k}];
Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Sep 13 2018 *)
PROG
(PARI) seq(n)={my(v=vector(n+1)); v[1]=1; for(n=1, n, v[n+1]=sum(k=1, n, sum(r=1, k, binomial(n-1, k-1)*(r-1)!*v[n-k+1]*v[k-r+1]))); v} \\ Andrew Howroyd, Aug 30 2018
CROSSREFS
Sequence in context: A367751 A367749 A367748 * A059294 A124468 A352302
KEYWORD
nonn
AUTHOR
Kassie Archer, Aug 30 2018
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 July 8 00:20 EDT 2024. Contains 374148 sequences. (Running on oeis4.)