OFFSET
1,2
COMMENTS
All terms are odd as irreducible polynomials over GF(2) necessarily have an odd number of nonzero coefficients.
a(42) (if it exists) is greater than 10^6. - Robin Visser, Oct 11 2025
LINKS
Joerg Arndt, Matters Computational (The Fxtbook), section 40.9.10 "Irreducible alternating polynomials", pp.853
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
EXAMPLE
The number 5 is in the sequence because x^11 + x^9 + x^7 + x^5 + x^3 + x + 1 is irreducible over GF(2) (and 11 = 2*5 + 1).
PROG
(PARI) forstep(d=1, 10^5, 2, p=(1+sum(t=0, d, x^(2*t+1))); if(polisirreducible(Mod(1, 2)*p), print1(d, ", ")));
(SageMath)
p = 1;
P.<x> = GF(2)[]
for n in range(1, 10^5, 2):
p = p + x^(2*(n-1)+1) + x^(2*n+1);
if p.is_irreducible():
print(n)
# Joerg Arndt, Apr 28 2012
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Joerg Arndt, Jun 08 2005
EXTENSIONS
More terms from Joerg Arndt, Apr 02 2011 and terms a(25)-a(36), Apr 27 2012
a(37)-a(41) from Robin Visser, Oct 11 2025
STATUS
approved
