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!)
A317421 a(n) = Sum_{k=1..n} binomial(n-1,k-1)*prime(k)*n!/k!. 0
2, 7, 35, 223, 1711, 15283, 155333, 1766819, 22205615, 305275979, 4553222111, 73179347509, 1260129395189, 23135381385341, 450963438488267, 9298480714769813, 202154606388513675, 4620729025472999443, 110759284511324893795, 2777748141259276697671, 72735279236489471934853 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Lah transform of the primes.
LINKS
N. J. A. Sloane, Transforms
FORMULA
E.g.f.: Sum_{k>=1} prime(k)*(x/(1 - x))^k/k!.
MATHEMATICA
Table[Sum[Binomial[n - 1, k - 1] Prime[k] n!/k!, {k, n}], {n, 21}]
nmax = 21; Rest[CoefficientList[Series[Sum[Prime[k] (x/(1 - x))^k/k!, {k, nmax}], {x, 0, nmax}], x] Range[0, nmax]!]
PROG
(PARI) for(n=1, 30, print1(sum(k=1, n, binomial(n-1, k-1)*prime(k)*n!/k!), ", ")) \\ G. C. Greubel, Jul 28 2018
(Magma) [(&+[Binomial(n-1, k-1)*NthPrime(k)*Factorial(n)/Factorial(k): k in [1..n]]): n in [1..30]]; // G. C. Greubel, Jul 28 2018
CROSSREFS
Sequence in context: A080831 A006947 A182224 * A292182 A185054 A014307
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Jul 27 2018
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 24 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)