OFFSET
1,3
EXAMPLE
a(5)=6 because discriminant of quintic x^5+a*x^2+b*x+c is: -27*a^4*b^2 + 256*b^5 + 108*a^5*c - 1600*a*b^3*c + 2250*a^2*b*c^2 + 3125*c^4 that consists of 6 monomials (parts).
MATHEMATICA
a = {1, 1}; Do[k = 0; Do[If[n > s - 3, If[(n > s - 1) && ((n > s - 2)), k = k + x^n], k = k + f[n] x^n], {n, 0, s}]; m = Resultant[k, D[k, x], x]; AppendTo[a, Length[m]], {s, 3, 9}]; a (* fixed by Vaclav Kotesovec, Mar 20 2019 *)
Flatten[{1, 1, Table[Length[Discriminant[x^n + Sum[Subscript[c, k]*x^k, {k, 0, n-3}], x]], {n, 3, 9}]}] (* Vaclav Kotesovec, Mar 20 2019 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Artur Jasinski, Mar 30 2008
EXTENSIONS
a(10)-a(12) from Vaclav Kotesovec, Mar 21 2019
a(13) from Vaclav Kotesovec, Mar 28 2019
STATUS
approved