OFFSET
3,1
FORMULA
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:
A027919 := proc(n)
local k, i;
[seq(i, i=1..n)] ;
e3 := SymmPolyn(%, 3) ;
for k from 1 do
[seq(i, i=1..k+1)] ;
if SymmPolyn(%, 2) >= e3 then
return k;
end if;
end do:
end proc: # R. J. Mathar, Sep 23 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition modified by R. J. Mathar, Sep 23 2016
STATUS
approved