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.

A178091 Emirps whose digital sums are also emirps.

Original entry on oeis.org

157, 179, 337, 359, 733, 751, 953, 971, 1097, 1237, 1259, 1381, 1439, 1453, 1471, 1583, 1619, 1723, 1741, 1831, 3019, 3109, 3163, 3257, 3271, 3343, 3347, 3433, 3527, 3541, 3613, 3851, 7253, 7321, 7433, 7523, 7699, 7879, 7901, 9013, 9103, 9161, 9341, 9521, 9679, 9769, 9787, 9967
Offset: 1

Views

Author

Lekraj Beedassy, May 19 2010

Keywords

Comments

Palindromic primes are not allowed, nor are palindromic digital sums of primes. - Harvey P. Dale, Feb 23 2014

Crossrefs

Programs

  • Mathematica
    dseQ[n_]:=Module[{idn=IntegerDigits[n],ds},ds=IntegerDigits[Total[idn]];idn!=Reverse[idn]&&ds!=Reverse[ds] && And@@PrimeQ[{FromDigits[ Reverse[ idn]],FromDigits[ds],FromDigits[Reverse[ds]]}]]; Select[Prime[Range[ 1300]],dseQ] (* Harvey P. Dale, Feb 23 2014 *)