The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A277452 a(n) = Sum_{k=0..n} binomial(n,k) * n^k * k!. 7
1, 2, 13, 226, 7889, 458026, 39684637, 4788052298, 766526598721, 157108817646514, 40104442275129101, 12472587843118746322, 4641978487740740993233, 2036813028164774540010266, 1040451608604560812273060189, 612098707457003526384666111226 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = exp(1/n) * n^n * Gamma(n+1, 1/n).
a(n) ~ n^n * n!.
a(n) = n! * [x^n] exp(x)/(1 - n*x). - Ilya Gutkovskiy, Sep 18 2018
a(n) = floor(n^n*n!*exp(1/n)), n > 0. - Peter McNair, Dec 20 2021
MAPLE
a := n -> simplify(hypergeom([1, -n], [], -n)):
seq(a(n), n=0..15); # Peter Luschny, Oct 03 2018
# second Maple program:
b:= proc(n, k) option remember;
1 + `if`(n>0, k*n*b(n-1, k), 0)
end:
a:= n-> b(n$2):
seq(a(n), n=0..17); # Alois P. Heinz, May 09 2020
MATHEMATICA
Flatten[{1, Table[Sum[Binomial[n, k]*n^k*k!, {k, 0, n}], {n, 1, 20}]}]
PROG
(PARI) a(n) = sum(k=0, n, binomial(n, k) * n^k * k!); \\ Michel Marcus, Sep 18 2018
CROSSREFS
Main diagonal of A320031.
Sequence in context: A255882 A015196 A236903 * A268703 A369799 A187648
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, Oct 16 2016
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 May 13 16:16 EDT 2024. Contains 372522 sequences. (Running on oeis4.)