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.

A023270 Primes that remain prime through 2 iterations of function f(x) = 10x + 9.

Original entry on oeis.org

5, 13, 19, 23, 47, 61, 103, 127, 139, 233, 257, 293, 331, 433, 463, 491, 499, 547, 593, 701, 859, 967, 1009, 1013, 1049, 1223, 1321, 1399, 1493, 1567, 1723, 1811, 1867, 1889, 1997, 2039, 2063, 2087, 2137, 2203, 2267, 2273, 2309, 2423, 2437, 2441, 2609, 2633
Offset: 1

Views

Author

Keywords

Comments

Primes p such that 10*p+9 and 100*p+99 are also primes. - Vincenzo Librandi, Aug 04 2010

Programs

  • Magma
    [n: n in [1..100000] | IsPrime(n) and IsPrime(10*n+9) and IsPrime(100*n+99)] // Vincenzo Librandi, Aug 04 2010
  • Mathematica
    Select[Prime[Range[400]],AllTrue[NestList[10#+9&,#,2],PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Jun 05 2015 *)