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!)
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
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

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 May 1 15:48 EDT 2024. Contains 372174 sequences. (Running on oeis4.)