OFFSET
0,9
COMMENTS
The Bell transform of the sequence "g(n) = 1 if n<3 else 0". For the definition of the Bell transform see A264428. - Peter Luschny, Jan 19 2016
LINKS
Moa Apagodu, David Applegate, N. J. A. Sloane, and Doron Zeilberger, Analysis of the Gift Exchange Problem, arXiv:1701.08394 [math.CO], 2017.
David Applegate and N. J. A. Sloane, The Gift Exchange Problem, arXiv:0907.0513 [math.CO], 2009.
MATHEMATICA
BellMatrix[f_Function, len_] := With[{t = Array[f, len, 0]}, Table[BellY[n, k, t], {n, 0, len-1}, {k, 0, len-1}]];
rows = 12;
M = BellMatrix[If[#<3, 1, 0]&, rows];
Table[M[[n, k]], {n, 1, rows}, {k, 1, n}] // Flatten (* Jean-François Alcover, Jul 14 2018, after Peter Luschny *)
PROG
(Sage) # uses[bell_matrix from A264428]
bell_matrix(lambda n: 1 if n<3 else 0, 12) # Peter Luschny, Jan 19 2016
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
David Applegate and N. J. A. Sloane, Dec 07 2008
STATUS
approved