login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A052840 A simple grammar. 0
0, 0, 2, 9, 56, 450, 4464, 52920, 731520, 11566800, 206035200, 4083488640, 89137843200, 2124970848000, 54929029478400, 1530259226496000, 45705137084006400, 1456873475016960000, 49362677881380864000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
E.g.f.: log((-1+x)/(-1+2*x))*x.
D-finite with recurrence: {a(1)=0, a(2)=2, (-2*n+2*n^3-4+4*n^2)*a(n)+(-6*n-3*n^2)*a(n+1)+(n+1)*a(n+2)}.
For n > 1, a(n) = n! * (2^(n-1) - 1)/(n-1). - Vaclav Kotesovec, Jun 06 2019
MAPLE
spec := [S, {B=Sequence(Z, 1 <= card), C=Cycle(B), S=Prod(Z, C)}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
Flatten[{0, 0, Table[n!*(2^(n-1) - 1)/(n-1), {n, 2, 20}]}] (* Vaclav Kotesovec, Jun 06 2019 *)
CROSSREFS
Sequence in context: A158883 A052860 A318289 * A308380 A036243 A364822
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 14:50 EDT 2024. Contains 371792 sequences. (Running on oeis4.)