|
Search: id:A024938
|
|
|
| A024938 |
|
Total number of parts in all partitions of n into distinct prime parts. |
|
+0 2
|
|
| 0, 1, 1, 0, 3, 0, 3, 2, 2, 5, 1, 5, 3, 5, 5, 7, 5, 10, 6, 10, 12, 10, 15, 12, 16, 17, 17, 19, 22, 17, 27, 21, 30, 30, 31, 35, 36, 40, 45, 45, 49, 53, 50, 62, 60, 69, 69, 73, 78, 85, 88, 98, 100, 105, 116, 116, 134, 135, 141, 149, 154, 168, 176, 188, 195, 206, 211, 232, 242, 255, 267, 276
(list; graph; listen)
|
|
|
OFFSET
|
1,5
|
|
|
FORMULA
|
G.f.=sum(x^p(j)/(1+x^p(j)),j=1..infinity)*product(1+x^p(j), j=1..infinity), where p(j) is the j-th prime. - Vladeta Jovovic
|
|
EXAMPLE
|
a(16)=7 because the partitions of 16 into distinct prime parts are [13,3],[11,5] and [11,3,2].
|
|
MAPLE
|
g:=sum(x^ithprime(j)/(1+x^ithprime(j)), j=1..30)*product(1+x^ithprime(j), j=1..30): gser:=series(g, x=0, 80): seq(coeff(gser, x, n), n=1..75); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 01 2006
|
|
MATHEMATICA
|
Rest@ CoefficientList[ Series[ Sum[x^Prime@j/(1 + x^Prime@j), {j, 20}]* Product[1 + x^Prime@j, {j, 20}], {x, 0, 70}], x] (* Robert G. Wilson v *)
|
|
CROSSREFS
|
Cf. A084993.
Sequence in context: A085919 A105824 A070298 this_sequence A004604 A016035 A112470
Adjacent sequences: A024935 A024936 A024937 this_sequence A024939 A024940 A024941
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Clark Kimberling (ck6(AT)evansville.edu)
|
|
EXTENSIONS
|
More terms from Vladeta Jovovic (vladeta(AT)eunet.rs), Jul 17 2003
|
|
|
Search completed in 0.002 seconds
|