login
Palindromes which are the product of two consecutive primes.
3

%I #10 Aug 11 2024 14:41:29

%S 6,77,323,36863,1115111,3740615160473

%N Palindromes which are the product of two consecutive primes.

%C No further terms < 2*10^17.

%C Next term > 36*10^18. - _Robert G. Wilson v_, Jun 11 2010

%H P. De Geest, <a href="https://www.worldofnumbers.com/sequenc.htm">More palindromic products of integer sequences</a>

%e 323 = 17*19 is a member.

%t palQ[n_] := n == FromDigits@ Reverse@ IntegerDigits@n; p = 2; q = 3; lst = {}; While[p < 6 10^9, If[ palQ[p*q], AppendTo[lst, p*q]; Print[p*q]]; p = q; q = NextPrime@q]; lst (* _Robert G. Wilson v_, Jun 11 2010 *)

%Y Cf. A028888, A028978.

%K nonn,base

%O 1,1

%A _Patrick De Geest_