OFFSET
1,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..11585
MAPLE
f:= proc(n) local L, p, x;
if isprime(n) then return false fi;
L:= convert(n, base, 2);
p:= add(L[i]*x^(i-1), i=1..nops(L));
irreduc(p) and not (Irreduc(p) mod 2);
end proc:
select(f, [$2..10000]); # Robert Israel, Jul 27 2015
MATHEMATICA
okQ[n_] := CompositeQ[n] && Module[{id, pol, x}, id = IntegerDigits[n, 2] // Reverse; pol = id.x^Range[0, Length[id]-1]; IrreduciblePolynomialQ[pol] && !IrreduciblePolynomialQ[pol, Modulus -> 2]];
Select[Range[1000], okQ] (* Jean-François Alcover, Feb 06 2023 *)
PROG
(PARI)
isA260428(n) = (polisirreducible( Pol(binary(n)) ) && !polisirreducible(Pol(binary(n))*Mod(1, 2)) && !isprime(n));
n = 0; i = 0; while(n < 65537, n++; if(isA260428(n), i++; write("b260428.txt", i, " ", n)));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 26 2015
STATUS
approved