login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A030017 a(1) = 1, a(n+1) = Sum_{k = 1..n} p(k)*a(n+1-k), where p(k) is the k-th prime. 12
1, 2, 7, 25, 88, 311, 1095, 3858, 13591, 47881, 168688, 594289, 2093693, 7376120, 25986209, 91549913, 322532092, 1136286727, 4003159847, 14103208628, 49685873471, 175044281583, 616684348614, 2172590743211, 7654078700221 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Apply "INVERT" transform to primes.

LINKS

T. D. Noe, Table of n, a(n) for n=1..200

N. J. A. Sloane, Transforms

FORMULA

INVERT: a's from b's in 1+Sum a_i x^i = 1/(1-Sum b_i x^i).

G.f: (1-b(x)/(b(x)-1))*x, where b(x) is the g.f. of A000040. - Mario C. Enriquez, Dec 13 2016

EXAMPLE

a(5) = 25*2 +7*3 +2*5 + 1*7 = 88.

MATHEMATICA

CoefficientList[ Series[ 1/(1 - Sum[ Prime[ n ]*x^n, {n, 1, 25} ] ), {x, 0, 25} ], x ]

(* Second program: *)

a[1] = 1; a[m_] := a[m] = Sum[Prime@ k  a[m - k], {k, m - 1}]; Table[a@ n, {n, 25}] (* Michael De Vlieger, Dec 13 2016 *)

CROSSREFS

Sequence in context: A169651 A289446 A289598 * A131430 A007484 A070859

Adjacent sequences:  A030014 A030015 A030016 * A030018 A030019 A030020

KEYWORD

easy,nonn,nice

AUTHOR

N. J. A. Sloane

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 January 21 22:55 EST 2020. Contains 331129 sequences. (Running on oeis4.)