OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
5 is 101 in binary, 3 is 11, and because 10111 = 23d is a prime, 5 is in the sequence.
MATHEMATICA
Select[Partition[Prime[Range[3200]], 2, 1], #[[2]]-#[[1]]==2&&PrimeQ[ FromDigits[ Join[IntegerDigits[#[[2]], 2], IntegerDigits[#[[1]], 2]], 2]]&][[All, 2]] (* Harvey P. Dale, Feb 25 2018 *)
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Alex Ratushnyak, Nov 20 2013
STATUS
approved