OFFSET
1,2
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
t = Table[IntegerDigits[n, 2], {n, 1, 1500}];
b[n_] := Reverse[Table[x^k, {k, 0, n}]]
p[n_, x_] := t[[n]].b[-1 + Length[t[[n]]]]
u = {1}; Do[n++; If[IrreduciblePolynomialQ[p[n, x]], AppendTo[u, n]], {n, 1000}]
nonprimes = Complement[Range[800], Table[Prime[n], {n, 1, 800}]];
Intersection[u, nonprimes] (* A206075 *)
PROG
(PARI) is(n)=n==1 || (polisirreducible( Pol(binary(n)) ) && !isprime(n)) \\ Charles R Greathouse IV, May 14 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Feb 03 2012
STATUS
approved