A308857 Sum of the third largest parts in the partitions of n into 5 primes.
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 5, 5, 8, 7, 9, 8, 16, 12, 21, 20, 27, 20, 41, 27, 46, 34, 54, 44, 78, 44, 86, 59, 104, 65, 129, 79, 152, 96, 175, 115, 221, 117, 249, 157, 295, 170, 342, 179, 394, 214, 430, 243, 517, 245, 584, 307, 643, 332, 730, 352
Offset: 0
Keywords
Programs
-
Mathematica
Table[Total[Select[IntegerPartitions[n,{5}],AllTrue[#,PrimeQ]&][[All,3]]],{n,0,70}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 06 2020 *)