OFFSET
2,2
COMMENTS
LINKS
Lucas A. Brown, Table of n, a(n) for n = 2..10
Lucas A. Brown, Python program.
Eric Weisstein's World of Mathematics, Swinnerton-Dyer Polynomial.
Wikipedia, Swinnerton-Dyer polynomial.
FORMULA
a(n) = sqrt(A354913(n)).
EXAMPLE
The Swinnerton-Dyer polynomial for n=1 is x^2 - 2, which has negative constant term, so we skip n = 1.
For n = 2, the Swinnerton-Dyer polynomial is (x + sqrt(2) + sqrt(3)) * (x + sqrt(2) - sqrt(3)) * (x - sqrt(2) + sqrt(3)) * (x - sqrt(2) - sqrt(3)) = x^4 - 10*x^2 + 1, so a(2) = 1.
For n = 3, the Swinnerton-Dyer polynomial is x^8 - 40*x^6 + 352*x^4 - 960*x^2 + 576, so a(3) = 24.
MAPLE
p:= proc(n) option remember; expand(`if`(n=0, x, mul(
subs(x=x+i*sqrt(ithprime(n)), p(n-1)), i=[1, -1])))
end:
a:= n-> isqrt(coeff(p(n), x, 0)):
seq(a(n), n=2..8); # Alois P. Heinz, Nov 28 2024
PROG
(Python) # See LINKS.
CROSSREFS
KEYWORD
nonn
AUTHOR
Lucas A. Brown, Nov 27 2024
STATUS
approved