|
|
A006326
|
|
Total preorders.
(Formerly M3931)
|
|
1
|
|
|
1, 5, 24, 122, 680, 4155, 27776, 202084, 1592064, 13513825, 123025408, 1196165886, 12374422528, 135740585015, 1573990072320, 19239037403528, 247255523459072, 3333340694137725, 47039231504678912, 693488743931379010, 10661950808321949696, 170659875799127955955
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,2
|
|
REFERENCES
|
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
|
|
LINKS
|
|
|
MAPLE
|
b := proc(u, o) option remember;
`if`(u + o = 0, 1, add(b(o - 1 + j, u - j), j = 1..u)) end:
a := n -> (n-2)*b(n-1, 1)/2: seq(a(n), n = 3..23); # Peter Luschny, Oct 27 2017
|
|
MATHEMATICA
|
b[u_, o_] := b[u, o] = If[u+o == 0, 1, Sum[b[o-1+j, u-j], {j, 1, u}]];
a[n_] := (n-2) b[n-1, 1]/2;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|