OFFSET
1,1
COMMENTS
If n = p is an odd prime, the sequence appears coincide with A057749. Is this true, and if so, why?
More generally, the sequence appears the same as the set complement of A073571 (minus {1}). Again, if true, why? [This is not correct. E.g., the terms 42, 54, 66, 90, and 110 are in both sequences. Joerg Arndt, Apr 29 2019]
MATHEMATICA
ok[n_] := {} == Quiet@ Select[Range[n-1], IrreduciblePolynomialQ[ x^(n-#) * (x+1)^# + 1, Modulus -> 2] &, 1]; Select[Range[2, 140], ok] (* Giovanni Resta, May 02 2016 *)
PROG
(PARI) isok(n) = if (n<=1, 0, for (k=1, n-1, if (polisirreducible(Mod(1, 2)*(x^(n-k)*(x+1)^k+1)), return(0)); ); 1; ); \\ Michel Marcus, May 02 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Luis H. Gallardo, May 01 2016
EXTENSIONS
a(41)-a(60) from Giovanni Resta, May 02 2016
STATUS
approved