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.

A029573 Number of permutations of an n-set containing a 6-cycle.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 120, 840, 6720, 60480, 604800, 6652800, 73180800, 951350400, 13318905600, 199783584000, 3196537344000, 54341134848000, 983080530432000, 18678530078208000, 373570601564160000, 7844982632847360000, 172589617922641920000, 3969561212220764160000
Offset: 0

Views

Author

Keywords

Crossrefs

Column k=6 of A293211.

Programs

  • PARI
    a(n) = n! * (1 - sum(k=0, floor(n/6), (-1)^k/(k!*6^k) ) ); \\ Michel Marcus, Aug 08 2013

Formula

a(n) = n! * (1 - sum_{k=0..floor(n/6)} (-1)^k/(k!*6^k)).
a(n)/n! is asymptotic to 1-e^(-1/6) = 1 - A092727.
E.g.f.: (1-exp(-x^6/6))/(1-x). - Alois P. Heinz, Oct 11 2017