reviewed
approved
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”).
reviewed
approved
proposed
reviewed
editing
proposed
Primes whose base -8 representation also is the base -2 representation of a prime.
This sequence is part of the two -dimensional array of sequences based on this same idea for any two different bases b, c > 1. Sequence A235265 and A235266 are the most elementary ones in this list. Sequences A089971, A089981 and A090707 through A090721, and sequences A065720 - A065727, follow the same idea with one base equal to 10.
E.g., 73 = 111[_8] and 111[_2] = 7 are both are prime, so 73 is a term.
approved
editing
editing
approved
Alois P. Heinz, <a href="/A235465/b235465.txt">Table of n, a(n) for n = 1..10000</a>
approved
editing
editing
approved
M. F. Hasler, <a href="https://docs.google.com/document/d/10IM7fcAbB2tqRGuwfGvuEGUzD_IXbgXPDK0tfxN4M3o
(PARI) forprime(p=1, 1e3, is(p, 8, 2)&&print1(vector(#d=digits(p, 2), i, 8^(#d-i))*d~, ", ")) \\ To produce the terms, this is much more efficient than to select them using straightforwardly is(.)=is(., 2, 78)