login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A261818
Minimal nested palindromic primes with seed 1.
3
1, 313, 93139, 3931393, 11393139311, 1113931393111, 17111393139311171, 331711139313931117133, 3333171113931393111713333, 133331711139313931117133331, 1813333171113931393111713333181, 1951813333171113931393111713333181591
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
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
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Sep 17 2015
STATUS
approved