%I #34 Aug 02 2015 17:52:07
%S 2,3,5,7,11,13,17,19,23,25,29,31,37,41,43,47,53,55,59,61,67,69,71,73,
%T 77,79,81,83,87,89,91,97,101,103,107,109,113,115,117,121,127,131,137,
%U 139,143,145,149,151,157,163,167,169,171,173,179,181,185,191,193,197,199,203,205,209,211,213,223,227,229
%N n-th irreducible polynomial over Q (with coefficients 0 or 1) evaluated at x=2.
%C Is every prime present?
%C Yes, see the Filaseta reference. - _Thomas Ordowski_, Feb 19 2014
%C Corresponding evaluation at x=10 is A206073. - _Michael Somos_, Feb 26 2014
%H Antti Karttunen, <a href="/A206074/b206074.txt">Table of n, a(n) for n = 1..21692</a>
%H John Brillhart, Michael Filaseta, Andrew Odlyzko, <a href="http://dx.doi.org/10.4153/CJM-1981-080-0">On an irreducibility theorem of A. Cohn</a>, Canad. J. Math. 33(1981), pp. 1055-1059.
%H Michael Filaseta, <a href="http://dx.doi.org/10.4153/CJM-1982-097-3">A further generalization of an irreducibility theorem of A. Cohn</a>, Canad J. Math. 34 (1982), pp. 1390-1395.
%F Other identities and observations. For all n >= 1:
%F A255574(a(n)) = n.
%e (See the example at A206073.)
%t t = Table[IntegerDigits[n, 2], {n, 1, 850}];
%t b[n_] := Reverse[Table[x^k, {k, 0, n}]]
%t p[n_, x_] := t[[n]].b[-1 + Length[t[[n]]]]
%t Table[p[n, x], {n, 1, 15}]
%t u = {}; Do[n++; If[IrreduciblePolynomialQ[p[n, x]],
%t AppendTo[u, n]], {n, 300}];
%t u (* A206074 *)
%t Complement[Range[200], u] (* A205783 *)
%t b[n_] := FromDigits[IntegerDigits[u, 2][[n]]]
%t Table[b[n], {n, 1, 40}] (* A206073 *)
%o (PARI) for(n=2, 10^3, if( polisirreducible( Pol(binary(n)) ), print1(n,", ") ) ); \\ _Joerg Arndt_, Feb 19 2014
%Y Cf. A206073, A205783 (complement), A206075 (nonprime terms), A014580 (irreducible over GF(2), a subsequence of this one), A000040 (primes, also a subsequence), A260427 (terms that are reducible over GF(2)).
%Y Cf. A255574 (left inverse).
%Y Cf. also permutations A260421 - A260426.
%Y Disjoint union of A257688 (without 1) and A260428.
%Y a(n) differs from A186891(n+1) for the first time at n=21, where a(21) = 67, while A186891(22) = 65, a term missing from here. There are several other sequences that do not diverge until after approx. the twentieth term from this one (see the context-links).
%K nonn
%O 1,1
%A _Clark Kimberling_, Feb 03 2012
%E Clarified name, added more terms, _Joerg Arndt_, Feb 20 2014