OFFSET
1,1
COMMENTS
Both Hamming's distances between a(n) and the previous prime and between a(n) and the next prime equal 1.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Partition[Prime[Range[1000]], 3, 1], DigitCount[BitXor[#[[1]], #[[2]]], 2, 1] == DigitCount[BitXor[#[[2]], #[[3]]], 2, 1] == 1 &] [[;; , 2]] (* Amiram Eldar, Aug 06 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev and Peter J. C. Moses, Jan 28 2012
EXTENSIONS
More terms from Amiram Eldar, Aug 06 2023
STATUS
approved