|
|
A038720
|
|
a(n) = (n+3)*n!/2.
|
|
15
|
|
|
2, 5, 18, 84, 480, 3240, 25200, 221760, 2177280, 23587200, 279417600, 3592512000, 49816166400, 741015475200, 11769069312000, 198766503936000, 3556874280960000, 67224923910144000, 1338096104497152000, 27978373094031360000, 613091306060513280000
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
a(n-1) is the sum of the n-th entries in all cycles of all permutations of [n]. a(2) = 5 because the sum of the third entries in all cycles of all permutations of [3] ((123), (132), (12)(3), (13)(2), (1)(23), (1)(2)(3)) is 3+2+0+0+0+0 = 5. - Alois P. Heinz, May 03 2017
|
|
LINKS
|
|
|
FORMULA
|
G.f.: Sum_{n>=1} ( (n+1)*x/(1 + (n+1)*x) )^n. - Paul D. Hanna, Jan 02 2013
Sum_{n>=1} 1/a(n) = 2*e - 14/3.
Sum_{n>=1} (-1)^(n+1)/a(n) = 10/e - 10/3. (End)
|
|
MATHEMATICA
|
|
|
PROG
|
(Haskell)
import Data.List (transpose)
a038720 n = a038720_list !! (n-1)
a038720_list = (transpose $ map reverse a038719_tabl) !! 1
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Corrected and extended by Larry Reeves (larryr(AT)acm.org), May 09 2000.
|
|
STATUS
|
approved
|
|
|
|