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.

A020460 Primes that contain digits 2 and 9 only.

Original entry on oeis.org

2, 29, 229, 929, 2999, 9929, 22229, 99929, 2222929, 2229299, 2292299, 2299229, 2922229, 2992229, 2992999, 2999299, 2999999, 9222229, 9922229, 9929929, 9929999, 9999299, 9999929, 22229299, 22292929, 22299229, 22929299, 29229229, 29229929
Offset: 1

Views

Author

Keywords

Programs

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