OFFSET
0,13
FORMULA
a(n) = Sum_{m=1..floor(n/6)} Sum_{l=m..floor((n-m)/5)} Sum_{k=l..floor((n-l-m)/4)} Sum_{j=k..floor((n-k-l-m)/3)} Sum_{i=j..floor((n-j-k-l-m)/2)} c(m) * c(l) * c(k) * c(j) * c(i) * c(n-i-j-k-l-m) * i, where c = A010051.
MATHEMATICA
Table[Total[Select[IntegerPartitions[n, {6}], AllTrue[#, PrimeQ]&][[All, 2]]], {n, 0, 60}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 29 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Jun 30 2019
STATUS
approved