OFFSET
0,3
COMMENTS
Number of associative and quasitrivial binary operations on an n-element set that are order-preserving for some total ordering.
Convention a(0) = 1.
LINKS
J. Devillet, J.-L. Marichal, and B. Teheux Classifications of quasitrivial semigroups, arXiv:1811.11113 [math.RA], 2018.
FORMULA
MATHEMATICA
Nest[Append[#1, 2 + #2 #1[[-1]] + #2 (#2 - 1) #1[[-2]] ] & @@ {#, Length@ #} &, {1, 1, 4}, 19] (* Michael De Vlieger, Apr 21 2019 *)
With[{nn=30}, CoefficientList[Series[(2Exp[x]-1-2x-x^2)/(1-x-x^2), {x, 0, nn}], x] Range[0, nn]!] (* Harvey P. Dale, Jan 12 2020 *)
PROG
(PARI) my(x='x+O('x^30)); Vec(serlaplace((2*exp(x)-1-2*x-x^2)/(1-x-x^2))) \\ Felix Fröhlich, Mar 19 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. Devillet, Mar 19 2019
EXTENSIONS
More terms from Michel Marcus, Apr 20 2019
STATUS
approved