OFFSET
0,2
COMMENTS
Equals row sums of triangle A144155. - Gary W. Adamson, Sep 12 2008
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..576
Adam M. Goyt and Lara K. Pudwell, Avoiding colored partitions of two elements in the pattern sense, arXiv preprint arXiv:1203.3786 [math.CO], 2012. - From N. J. A. Sloane, Sep 17 2012
FORMULA
G.f.: (1/(1 - x - x^2/(1 - 2*x - 2*x^2/(1 - 3*x - 3*x^2/(1 - 4*x - 4*x^2/(1 - ...))))))^2, a continued fraction. - Ilya Gutkovskiy, Sep 25 2017
G.f.: ( Sum_{j>=0} A000110(j)*x^j )^2. - G. C. Greubel, Jan 08 2023
MAPLE
with(combinat):
a:= n-> add(bell(i)*bell(n-i), i=0..n):
seq(a(n), n=0..30); # Alois P. Heinz, May 13 2014
MATHEMATICA
a[n_]:= Sum[BellB[k]*BellB[n-k], {k, 0, n}];
Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Jan 17 2016 *)
PROG
(Magma)
A014322:= func< n | (&+[Bell(j)*Bell(n-j): j in [0..n]]) >;
[A014322(n): n in [0..40]]; // G. C. Greubel, Jan 08 2023
(SageMath)
def A014322(n): return sum(bell_number(j)*bell_number(n-j) for j in range(n+1))
[A014322(n) for n in range(41)] # G. C. Greubel, Jan 08 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved