cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A326241 Number of degree-n even permutations of order dividing 12.

Original entry on oeis.org

1, 1, 1, 3, 12, 36, 216, 1296, 10368, 78912, 634896, 5572656, 51817536, 477672768, 8268884352, 101752505856, 1417554660096, 20985416983296, 344834432195328, 5096129755468032, 70148917686998016
Offset: 0

Views

Author

Keywords

Examples

			For n=3 the a(3)=3 solutions are (1), (1, 2, 3), (1, 3, 2) (permutations in cyclic notation).
		

References

  • J. Riordan, An Introduction to Combinatorial Analysis, John Wiley & Sons, Inc. New York, 1958 (Chap 4, Problem 22).

Crossrefs

Programs

  • Maple
    E:= (1/2)*exp(x + (1/2)*x^2 + (1/3)*x^3 + (1/4)*x^4 + (1/6)*x^6+(1/12)*x^(12)) + (1/2)*exp(x - (1/2)*x^2 + (1/3)*x^3 - (1/4)*x^4 - (1/6)*x^6-(1/12)*x^(12)):
    S:= series(E,x,31):
    seq(coeff(S,x,i)*i!,i=0..30);# Robert Israel, Jul 08 2019
  • Mathematica
    With[{nn = 22}, CoefficientList[Series[1/2 Exp[x + x^2/2 + x^3/3 + x^4/4 + x^6/6 +x^12/12]+1/2 Exp[x - x^2/2 + x^3/3 - x^4/4 - x^6/6 - x^12/12], {x, 0, nn}], x]*Range[0, nn]!]

Formula

E.g.f.: (1/2)*exp(x + (1/2)*x^2 + (1/3)*x^3 + (1/4)*x^4 + (1/6)*x^6+(1/12)*x^(12)) + (1/2)*exp(x - (1/2)*x^2 + (1/3)*x^3 - (1/4)*x^4 - (1/6)*x^6-(1/12)*x^(12)).