OFFSET
1,1
COMMENTS
No further terms less than 1.38 * 10^10. - Michael S. Branicky, Feb 07 2021
LINKS
Patrick De Geest, More palindromic products of integer sequences
EXAMPLE
17 is in the sequence because 17 * 19 = 323.
19 is not in the sequence because 19 * 23 = 437.
MATHEMATICA
p = 2; t = {}; Do[q = NextPrime[p]; If[Reverse[x = IntegerDigits[p * q]] == x, AppendTo[t, p]]; p = q, {n, 150000}]; t (* Jayanta Basu, Jun 05 2013 *)
Prime[#]&/@Flatten[Position[Times@@@Partition[Prime[Range[1934100]], 2, 1], _?(PalindromeQ[#] &)]] (* Harvey P. Dale, May 14 2019 *)
PROG
(Python)
from sympy import nextprime
def ispal(n): s = str(n); return s == s[::-1]
p, q = 2, 3
while True:
if ispal(p*q): print(p)
p, q = q, nextprime(q) # Michael S. Branicky, Feb 07 2021
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, May 04 2007
STATUS
approved