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.

A242846 Palindromic primes of the form ababa...aba containing only the digits 1 and 3.

Original entry on oeis.org

131, 313, 1313131313131313131313131, 313131313131313131313131313131313131313131313131313
Offset: 1

Views

Author

Felix Fröhlich, May 23 2014

Keywords

Comments

The next two terms both start with 3 and have 83 and 225 digits, respectively. Those are the only other terms with fewer than 352 digits. Cf. A062216.

Crossrefs

Programs

  • Mathematica
    Module[{nn=60,a,b},a=Table[FromDigits[Join[PadRight[{},2n,{1,3}],{1}]],{n,nn}];b=Table[FromDigits[Join[PadRight[{},2n,{3,1}],{3}]],{n,nn}];Select[Sort[Join[a,b]],PrimeQ]] (* Harvey P. Dale, Sep 07 2020 *)