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”).

A262284
Primes whose binary expansion begins 101.
8
5, 11, 23, 41, 43, 47, 83, 89, 163, 167, 173, 179, 181, 191, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 1283, 1289, 1291, 1297, 1301, 1303, 1307, 1319, 1321, 1327, 1361, 1367, 1373, 1381, 1399
OFFSET
1,1
LINKS
MAPLE
lis:=[]; q:=5;
for i from 1 to 10 do for j from 1 to 2^i-1 do
if isprime(q*2^i+j) then lis:=[op(lis), q*2^i+j]; fi; od: od:
lis;
MATHEMATICA
Select[Flatten[Table[FromDigits[#, 2]&/@(Join[{1, 0, 1}, #]&/@Tuples[{0, 1}, n]), {n, 0, 10}]], PrimeQ] (* Harvey P. Dale, Oct 17 2021 *)
CROSSREFS
Primes whose binary expansion begins with binary expansion of 1, 2, 3, 4, 5, 6, 7: A000040, A080165, A080166, A262286, A262284, A262287, A262285.
Suggested by A262350.
Column k=5 of A262365.
Sequence in context: A143125 A147081 A046628 * A118439 A343711 A323042
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 19 2015
STATUS
approved