login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261818 Minimal nested palindromic primes with seed 1. 3
1, 313, 93139, 3931393, 11393139311, 1113931393111, 17111393139311171, 331711139313931117133, 3333171113931393111713333, 133331711139313931117133331, 1813333171113931393111713333181, 1951813333171113931393111713333181591 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Let s be a palindrome and put a(1) = s. Let a(2) be the least palindromic prime having s in the middle; for n > 2, let a(n) be the least palindromic prime have a(n-1) in the middle. Then (a(n)) is the sequence of minimal nested palindromic primes with seed s.

LINKS

Clark Kimberling, Table of n, a(n) for n = 1..100

EXAMPLE

As a symmetric triangle:

......1

.....313

....93139

...3931393

.11393139311

1113931393111

MATHEMATICA

s = {1}; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#]]]] &]; AppendTo[s, tmp], {15}]; s

(* Peter J. C. Moses, Sep 01 2015 *)

CROSSREFS

Cf. A261881 (seed 0 with guide to related sequences).

Sequence in context: A332131 A287294 A255388 * A083997 A164772 A068650

Adjacent sequences: A261815 A261816 A261817 * A261819 A261820 A261821

KEYWORD

nonn,easy,base

AUTHOR

Clark Kimberling, Sep 17 2015

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 December 5 12:42 EST 2022. Contains 358586 sequences. (Running on oeis4.)