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.

A020457 Primes that contain digits 1 and 9 only.

Original entry on oeis.org

11, 19, 191, 199, 911, 919, 991, 1999, 9199, 11119, 19919, 19991, 91199, 99119, 99191, 99991, 111119, 111191, 111919, 119191, 191119, 191911, 191999, 199999, 911111, 919111, 991999, 999199, 1111991, 1191119, 1191191, 1191199, 1191991, 1199999
Offset: 1

Views

Author

Keywords

Crossrefs

Subsequence of A329761 and hence of A030096.

Programs

  • Magma
    [p: p in PrimesUpTo(1199999) | Set(Intseq(p)) subset [1, 9]]; // Vincenzo Librandi, Jul 27 2012
  • Mathematica
    Flatten[Table[Select[FromDigits/@Tuples[{1,9},n],PrimeQ],{n,7}]] (* Vincenzo Librandi, Jul 27 2012 *)