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.

A046705 Palindromic primes whose product of digits is a prime.

Original entry on oeis.org

2, 3, 5, 7, 131, 151, 11311, 1117111, 111111151111111, 111111111111111111131111111111111111111, 1111111111111111111111111111111117111111111111111111111111111111111, 1111111111111111111111111111111111111111111115111111111111111111111111111111111111111111111
Offset: 1

Views

Author

Keywords

Comments

Except for the first 4 terms, a subsequence of A088281. - Chai Wah Wu, Dec 17 2015
Subsequence of A028842, of A046703, and also of A117058. - Michel Marcus, Dec 18 2015

Crossrefs

Programs

  • Mathematica
    t = Prime[Range[4]]; Union[Select[Flatten[Table[NestList[FromDigits[Flatten[{1, IntegerDigits[#], 1}]] &, n, 45], {n, t}]], PrimeQ]] (* Jayanta Basu, Jun 27 2013 *)
  • Python
    from _future_ import division
    from sympy import isprime
    A046705_list = [n for n in ((10**(2*l+1)-1)//9+d*10**l for l in range(100) for d in [1,2,4,6]) if isprime(n)] # Chai Wah Wu, Dec 17 2015