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!)
A109208 Palindromic primes p such that digit sum of p is a substring. 2
2, 3, 5, 7, 919, 31513, 1008001, 1123211, 1160611, 1268621, 1286821, 1311131, 1317131, 1412141, 1628261, 1802081, 1826281, 3187813, 3228223, 3245423, 3286823, 3291923, 3362633, 3528253, 3591953, 3765673, 3773773, 3781873 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Cf. A052019 Sum of digits of prime p is substring of p.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..54 (all terms up to the 5 millionth prime)
EXAMPLE
31513 is a term because its digit sum 13 is a substring of 31513.
MATHEMATICA
bb={}; Do[id=IntegerDigits[p=Prime[n]]; If[StringCount[ToString[p], ToString[Plus@@id]]>0&&Reverse[id]==id, AppendTo[bb, p]], {n, 1000000}]; A109208=bb
Select[Prime[Range[300000]], PalindromeQ[#]&&SequenceCount[IntegerDigits[#], IntegerDigits[ Total[ IntegerDigits[ #]]]]>0&] (* Harvey P. Dale, Dec 04 2021 *)
CROSSREFS
Cf. A052019.
Sequence in context: A241681 A134811 A046479 * A050665 A090721 A224164
KEYWORD
base,nonn
AUTHOR
Zak Seidov, Jun 22 2005
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 September 16 04:06 EDT 2024. Contains 375959 sequences. (Running on oeis4.)