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!)
A353164 Expansion of 1/(1 - Sum_{p prime} p * x^p). 2
1, 0, 2, 3, 4, 17, 17, 63, 100, 211, 495, 846, 2057, 3831, 8181, 17078, 33788, 72705, 144801, 303452, 623115, 1274365, 2652052, 5408046, 11207927, 23020231, 47378495, 97774736, 200819019, 414365805, 852285510, 1755453858, 3616014678, 7441523271, 15332278869 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(0) = 1; a(n) = Sum_{p<=n, p prime} p * a(n-p).
PROG
(PARI) my(N=40, x='x+O('x^N)); Vec(1/(1-sum(k=1, N, isprime(k)*k*x^k)))
(PARI) a(n) = if(n==0, 1, sum(k=1, n, isprime(k)*k*a(n-k)));
CROSSREFS
Sequence in context: A365574 A343494 A300855 * A333835 A178683 A111191
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Apr 28 2022
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 23 12:27 EDT 2024. Contains 371912 sequences. (Running on oeis4.)