OFFSET
1,1
LINKS
EXAMPLE
MATHEMATICA
nn = 6; MapIndexed[Set[P[First[#2] - 1], #1] &, FoldList[Times, 1, Prime@ Range[nn]]]; Table[P[i] + P[j] + P[k], {i, nn}, {j, i}, {k, j}]] // Flatten (* Michael De Vlieger, Mar 09 2024 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 09 2024
STATUS
approved