A308854 Sum of all the parts in the partitions of n into 5 primes.
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 11, 12, 26, 28, 45, 48, 51, 54, 95, 80, 126, 132, 161, 144, 250, 182, 297, 252, 348, 330, 527, 352, 594, 442, 700, 504, 888, 570, 1053, 720, 1189, 882, 1505, 836, 1710, 1104, 1927, 1248, 2303, 1300, 2703, 1560, 2862, 1836
Offset: 0
Keywords
Programs
-
Mathematica
Table[Total[Flatten[Select[IntegerPartitions[n,{5}],AllTrue[#,PrimeQ]&]]],{n,0,60}] (* Harvey P. Dale, Apr 18 2022 *)