login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046705 Palindromic primes whose product of digits is a prime. 1
2, 3, 5, 7, 131, 151, 11311, 1117111, 111111151111111, 111111111111111111131111111111111111111, 1111111111111111111111111111111117111111111111111111111111111111111, 1111111111111111111111111111111111111111111115111111111111111111111111111111111111111111111 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
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
LINKS
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 *)
PROG
(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
CROSSREFS
Sequence in context: A082805 A071119 A157869 * A054218 A075048 A281021
KEYWORD
base,nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 02:10 EDT 2024. Contains 371782 sequences. (Running on oeis4.)