login
Palindromic primes with digit sum 10.
4

%I #14 May 28 2023 12:13:36

%S 181,12421,30403,1008001,1114111,1212121,100161001,100404001,

%T 101060101,101141101,102040201,102202201,104000401,130020031,

%U 140000041,10001610001,10013031001,10100600101,10102220101,10130003101

%N Palindromic primes with digit sum 10.

%H Chai Wah Wu, <a href="/A070250/b070250.txt">Table of n, a(n) for n = 1..1777</a>

%t Do[p = IntegerDigits[ Prime[n]]; If[ Plus @@ p == 10 && Reverse[p] == p, Print[ Prime[n]]], {n, 1, 10^10}]

%t Select[Prime[Range[4607*10^5]],PalindromeQ[#]&&Total[IntegerDigits[#]]==10&] (* _Harvey P. Dale_, May 28 2023 *)

%Y Cf. A002385, A070247, A070248, A070249.

%K base,nonn

%O 1,1

%A _Amarnath Murthy_, May 05 2002

%E Edited and extended by _Robert G. Wilson v_ and _Jason Earls_, May 06 2002