login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A193374 E.g.f.: A(x) = exp( Sum_{n>=1} x^(n*(n+1)/2) / (n*(n+1)/2) ). 7
1, 1, 1, 3, 9, 21, 201, 1191, 4593, 36009, 620721, 5297931, 40360761, 474989373, 4345942329, 122776895151, 2118941145441, 21344580276561, 303071564084193, 4476037678611219, 59935820004483561, 3838519441659950181, 78361805638079449641, 949279542954821272503 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

Number of permutations of [n] whose cycle lengths are triangular numbers. - Alois P. Heinz, May 12 2016

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..451

EXAMPLE

E.g.f.: A(x) = 1 + x + x^2/2! + 3*x^3/3! + 9*x^4/4! + 21*x^5/5! + 201*x^6/6! +...

where

log(A(x)) = x + x^3/3 + x^6/6 + x^10/10 + x^15/15 + x^21/21 +...

MAPLE

a:= proc(n) option remember; `if`(n=0, 1, add(`if`(issqr(8*j+1),

       a(n-j)*(j-1)!*binomial(n-1, j-1), 0), j=1..n))

    end:

seq(a(n), n=0..25);  # Alois P. Heinz, May 12 2016

MATHEMATICA

a[n_] := a[n] = If[n == 0, 1, Sum[If[IntegerQ @ Sqrt[8*j + 1], a[n - j]*(j - 1)!*Binomial[n - 1, j - 1], 0], {j, 1, n}]];

Table[a[n], {n, 0, 25}] (* Jean-Fran├žois Alcover, Jun 05 2018, after Alois P. Heinz *)

PROG

(PARI) {a(n)=n!*polcoeff(exp(sum(m=1, sqrtint(2*n+1), x^(m*(m+1)/2)/(m*(m+1)/2)+x*O(x^n))), n)}

CROSSREFS

Cf. A000217, A193375, A273001, A305824, A317130.

Sequence in context: A298836 A252284 A259367 * A191998 A098980 A007647

Adjacent sequences:  A193371 A193372 A193373 * A193375 A193376 A193377

KEYWORD

nonn

AUTHOR

Paul D. Hanna, Jul 24 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 16 07:12 EST 2018. Contains 318158 sequences. (Running on oeis4.)