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.

A083973 Smallest palindromic prime containing exactly n 2's.

Original entry on oeis.org

2, 12421, 72227, 1221221, 3222223, 122232221, 322222223, 12222122221, 1202222222021, 1222227222221, 9222222222229, 122222232222221, 32222322222322223, 72222222422222227, 1202222222222222021, 1222222226222222221, 125222222222222222521, 722222222202222222227
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 21 2003

Keywords

Crossrefs

Programs

  • Mathematica
    Table[d = 2; i = 1;
     While[ x = IntegerDigits[Prime[i]];
      x != Reverse[x] || Count[x, d] != n , i++];
    FromDigits[x], {n, 1, 6}]  (* Robert Price, Mar 25 2019 *)

Extensions

Corrected and extended by Giovanni Resta, Feb 08 2006