OFFSET
1,2
MATHEMATICA
s = {}; Do[pol = Simplify[(x^n + 1)/(x + 1)]; d = Discriminant[pol, x]; AppendTo[s, pol /. x -> d], {n, 1, 10, 2}]; s
PROG
(PARI) a(n) = my(p=(x^(2*n-1) + 1)/(x + 1)); subst(p, x, poldisc(p)); \\ Michel Marcus, Mar 02 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Mar 15 2010
STATUS
approved