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.

A070249 Palindromic primes with digit sum 8.

This page as a plain text file.
%I A070249 #10 Jul 18 2022 18:26:04
%S A070249 10601,11411,30203,31013,1022201,1120211,1300031,3002003,100060001,
%T A070249 103000301,111020111,300020003,300101003,10002220001,10200200201,
%U A070249 10210001201,1000030300001,1021000001201,1030000000301,1101010101011
%N A070249 Palindromic primes with digit sum 8.
%H A070249 Chai Wah Wu, <a href="/A070249/b070249.txt">Table of n, a(n) for n = 1..1757</a>
%t A070249 Do[p = Join[ IntegerDigits[n], Reverse[ Drop[ IntegerDigits[n], -1]]]; q = Plus @@ p; If[ PrimeQ[ FromDigits[p]] && q == 8, Print[ FromDigits[p]]], {n, 1, 10^7}]
%t A070249 Select[Prime[Range[1626*10^4]],Total[IntegerDigits[#]]==8&&PalindromeQ[#]&] (* The program generates the first 13 terms of the sequence. *) (* _Harvey P. Dale_, Jul 18 2022 *)
%Y A070249 Cf. A002385, A070247 and A070248.
%K A070249 base,nonn
%O A070249 1,1
%A A070249 _Amarnath Murthy_, May 05 2002
%E A070249 Edited by _Robert G. Wilson v_, May 15 2002