A308974 Sum of all the parts in the partitions of n into 7 primes.
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, 15, 16, 34, 36, 57, 80, 84, 88, 138, 144, 200, 208, 243, 280, 406, 360, 496, 512, 627, 646, 910, 792, 1110, 988, 1326, 1240, 1763, 1386, 2064, 1848, 2520, 2162, 3102, 2448, 3773, 3000, 4284, 3536, 5247, 3942
Offset: 0
Keywords
Programs
-
Mathematica
Table[Total[Flatten[Select[IntegerPartitions[n,{7}],AllTrue[#,PrimeQ]&]]],{n,0,60}] (* Harvey P. Dale, Nov 28 2023 *)