OFFSET
3,5
COMMENTS
LINKS
Eric Weisstein's World of Mathematics, Polygon
EXAMPLE
a(7) = 2 because exactly the 2 partitions (2, 2, 2, 2, 3, 3, 3) and (2, 2, 2, 2, 2, 2, 5) have 7 prime parts and their sum is p(7) = 17.
MAPLE
PROG
(PARI) a(n)={my(m=prime(n), p=primes(primepi((m-1)\2))); polcoef(polcoef(1/prod(i=1, #p, 1 - y*x^p[i], 1 + O(x*x^m)), m), n)} \\ Andrew Howroyd, Oct 13 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Huber, Oct 13 2024
EXTENSIONS
a(43) onwards from Andrew Howroyd, Oct 13 2024
STATUS
approved