cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A205511 Lesser of the n-th pair of Hamming twin primes.

Original entry on oeis.org

2, 5, 17, 19, 29, 41, 43, 67, 97, 101, 137, 149, 163, 193, 197, 269, 281, 307, 313, 359, 379, 389, 401, 449, 457, 461, 499, 521, 569, 617, 641, 643, 673, 739, 743, 769, 809, 821, 857, 859, 881, 883, 907, 929, 937, 983, 1009, 1049, 1061, 1109, 1229, 1277, 1289, 1297
Offset: 1

Views

Author

Vladimir Shevelev, Jan 28 2012

Keywords

Comments

The Hamming distance between a(n) and the next prime is 1, cf. A205510.

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[211]],Count[IntegerDigits[BitXor[#,NextPrime[#]],2],1]==1 &] (* Jayanta Basu, May 26 2013 *)
  • PARI
    n=0;for(i=1,10^4,until(A205510(n++)==1,);write("c:/temp/b205511.txt",i" "prime(n))) \\ M. F. Hasler, Jan 29 2012

Extensions

Terms from a(11) were added by Peter J. C. Moses