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.

A076055 Composite numbers which when read backwards are primes.

This page as a plain text file.
%I A076055 #20 Nov 21 2021 07:36:32
%S A076055 14,16,20,30,32,34,35,38,50,70,74,76,91,92,95,98,104,106,110,112,118,
%T A076055 119,124,125,128,130,133,134,136,140,142,145,146,152,160,164,166,170,
%U A076055 172,175,182,188,194,196,200,300,301,305,310,316,320,322,325,328,332
%N A076055 Composite numbers which when read backwards are primes.
%C A076055 If m is a term, then 10*m is another term. - _Bernard Schott_, Nov 20 2021
%H A076055 Michael S. Branicky, <a href="/A076055/b076055.txt">Table of n, a(n) for n = 1..10000</a>
%t A076055 Rev[n_]:=FromDigits[Reverse[IntegerDigits[n]]];Select[Range[332],!PrimeQ[#] && PrimeQ[Rev[#]]&] (* _Jayanta Basu_, May 01 2013 *)
%o A076055 (Python)
%o A076055 from sympy import isprime
%o A076055 def ok(n): return not isprime(n) and isprime(int(str(n)[::-1]))
%o A076055 print([k for k in range(333) if ok(k)]) # _Michael S. Branicky_, Nov 20 2021
%Y A076055 Cf. A076056.
%Y A076055 Intersection of A002808 and A095179.
%K A076055 base,nonn
%O A076055 1,1
%A A076055 _Amarnath Murthy_, Oct 04 2002
%E A076055 Corrected and extended by _Sascha Kurz_, Jan 20 2003