login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A205533
Intersection of A205302 and A205511.
17
19, 43, 101, 197, 457, 461, 643, 743, 859, 883, 937, 1301, 1483, 1579, 1877, 1949, 1997, 2083, 2129, 2141, 2221, 2237, 2251, 2381, 2539, 2609, 2617, 2659, 2663, 3019, 3221, 3389, 3461, 3701, 4003, 4157, 4517, 4637, 5573, 5741, 5783, 6763, 6899, 6907, 7349, 7757, 7877
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
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 *)
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Amiram Eldar, Aug 06 2023
STATUS
approved