OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
6 is included as 6 = 2*3, 2 and 3 are successive primes, and 2 (in binary "10") and 3 (in binary "11") differ by only one bit from each other.
MATHEMATICA
brdQ[{a_, b_}]:=Module[{c=IntegerDigits[a, 2], d=IntegerDigits[b, 2]}, Length[ c] == Length[d]&&Count[Total/@Transpose[{c, d}], 1]==1]; Times@@@ Select[ Partition[Prime[Range[200]], 2, 1], brdQ] (* Harvey P. Dale, Jan 29 2016 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 23 2015
STATUS
approved