OFFSET
3,1
MAPLE
SymmPolyn := proc(L::list, n::integer)
local c, a, sel;
a :=0 ;
sel := combinat[choose](nops(L), n) ;
for c in sel do
a := a+mul(L[e], e=c) ;
end do:
a;
end proc:
A024523 := proc(n)
[1, seq(ithprime(k), k=1..n-1)] ;
SymmPolyn(%, 3) ;
end proc: # R. J. Mathar, Sep 23 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved