OFFSET
0,4
FORMULA
E.g.f.: (1/2)*exp(x + (1/2)*x^2 + (1/4)*x^4 + (1/8)*x^8) - (1/2)*exp(x - (1/2)*x^2 -(1/4)*x^4 - (1/8)*x^8).
EXAMPLE
For n=3 the a(3)=3 solutions are (1, 2), (1, 3), (2, 3) (permutations in cyclic notation).
MATHEMATICA
With[{nn = 22},
CoefficientList[Series[1/2 Exp[x + x^2/2 + x^4/4 + x^8/8] - 1/2 Exp[x - x^2/2 - x^4/4 - x^8/8], {x, 0, nn}], x]*Range[0, nn]!]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Luis Manuel Rivera MartÃnez, Jun 14 2019
STATUS
approved