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.

A167473 Primes p such that (p reversed)+10 is also a prime.

Original entry on oeis.org

3, 7, 13, 19, 31, 37, 73, 79, 97, 103, 109, 139, 157, 181, 193, 337, 349, 367, 373, 379, 733, 739, 751, 769, 787, 907, 919, 997, 1009, 1039, 1051, 1093, 1117, 1123, 1129, 1171, 1201, 1237, 1249, 1291, 1303, 1399, 1423, 1447, 1459, 1483, 1489, 1531, 1543, 1549, 1663, 1741, 1747, 1753, 1783
Offset: 1

Views

Author

Vincenzo Librandi, Nov 04 2009

Keywords

Examples

			13 is in the sequence because 31+10 = 41, which is prime.
37 is in the sequence because 73+10 = 83, which is prime.
		

Programs

  • Magma
    [p: p in PrimesUpTo(1783) | IsPrime(q+10) where q is Seqint(Reverse(Intseq(p)))]; // Vincenzo Librandi, Sep 15 2013
  • Mathematica
    Select[Prime[Range[2, 3000]], PrimeQ[FromDigits[Reverse[IntegerDigits[#]]] + 10]&] (* Vincenzo Librandi, Sep 15 2013 *)
    Select[Prime[Range[300]],PrimeQ[IntegerReverse[#]+10]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 26 2020 *)

Extensions

Inserted 193, 367 etc. - R. J. Mathar, Nov 08 2009
Inserted 3 and 7 - R. J. Mathar, Jan 05 2011