OFFSET
1,1
MATHEMATICA
f[n_] := FromDigits[IntegerDigits[n, 2], 4]; Select[Range[1000], CompositeQ[#] && PrimeQ[f[#]] &] (* Amiram Eldar, Dec 13 2018 *)
PROG
(PARI) a000695(n) = fromdigits(binary(n), 4);
lista(nn) = forcomposite(n=1, nn, if (isprime(a000695(n)), print1(n, ", "))); \\ Michel Marcus, Dec 13 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Nov 23 2008
EXTENSIONS
More terms derived from b000695.txt by Michel Marcus, Jun 02 2013
STATUS
approved