The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A103992 Palindromic primes: insert a digit between digits of the previous term. 0
11, 101, 16061, 126202621, 13236323032363231 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Inserted digits are 0, 6, 2, 3. If we search only for minimal inserted digit and start with 11, the sequence ends at 5th term. - Ray Chandler, Feb 25 2005
LINKS
EXAMPLE
Start with 11; insert 0 between digits, 101 is prime; insert 6 between digits, 16061 is prime, etc.
MATHEMATICA
nxt[n_]:=SelectFirst[FromDigits/@Table[Riffle[IntegerDigits[n], i], {i, 0, 9}], PrimeQ]; NestList[nxt, 11, 4] (* The program uses the SelectFirst function from Mathematica version 10 *) (* Harvey P. Dale, Aug 08 2015 *)
CROSSREFS
Sequence in context: A082620 A199304 A156668 * A185949 A001387 A358198
KEYWORD
fini,nonn,base
AUTHOR
Zak Seidov, Feb 23 2005
EXTENSIONS
Corrected by Ray Chandler, Feb 25 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 May 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)