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.

A136186 Primes whose decimal and binary reversal are both prime.

This page as a plain text file.
%I A136186 #8 Nov 11 2021 14:02:59
%S A136186 3,5,7,11,13,17,31,37,71,73,97,101,107,113,131,151,167,181,199,313,
%T A136186 337,353,359,373,383,701,709,727,739,757,797,907,937,941,953,967,1033,
%U A136186 1091,1109,1153,1181,1193,1201,1217,1229,1259,1439,1453,1471,1487,1619,1669
%N A136186 Primes whose decimal and binary reversal are both prime.
%H A136186 Harvey P. Dale, <a href="/A136186/b136186.txt">Table of n, a(n) for n = 1..1000</a>
%e A136186 337 = 101010001 base 2, reverse the sequence of ones and zeros: 100010101 base 2 = 277. 337, 733 and 277 are all prime.
%t A136186 Select[Prime[Range[300]],AllTrue[{IntegerReverse[#],FromDigits[ Reverse[ IntegerDigits[ #,2]],2]},PrimeQ]&] (* _Harvey P. Dale_, Nov 11 2021 *)
%Y A136186 Cf. A007500, A074832.
%K A136186 base,nonn
%O A136186 1,1
%A A136186 _Harry J. Smith_, Dec 19 2007