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.

A070248 Palindromic primes with digit sum 7.

Original entry on oeis.org

7, 151, 313, 10501, 11311, 30103, 1201021, 3001003, 100050001, 100131001, 101030101, 110111011, 111010111, 10000500001, 1100011100011, 1100101010011, 100020010020001
Offset: 1

Views

Author

Amarnath Murthy, May 05 2002

Keywords

Crossrefs

Programs

  • Mathematica
    Do[p = Join[ IntegerDigits[n], Reverse[ Drop[ IntegerDigits[n], -1]]]; q = Plus @@ p; If[ PrimeQ[ FromDigits[p]] && q == 7, Print[ FromDigits[p]]], {n, 1, 10^7}]

Extensions

Edited by Robert G. Wilson v, May 15 2002