Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117626
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117626 Least prime which stays prime when end digits (on both sides) are repeated n times. +0
1
2, 131, 113, 137, 197, 113, 139, 139, 223, 199, 137, 229, 127, 137, 271, 461, 167, 113, 131, 137, 421, 149, 167, 389, 337, 191, 419, 239, 263, 113, 373, 593, 211, 223, 683, 251, 137, 277, 359, 127, 281, 347, 193, 277, 151, 197, 199, 1321, 337, 1399, 547, 157 (list; graph; listen)
OFFSET

0,1

EXAMPLE

We thus have successively the derived primes: 11311,1111333,111137777,11111977777,1111111333333,111111139999999,...

MATHEMATICA

f[n_] := Block[{k = 1}, While[id = IntegerDigits@ Prime@ k; !PrimeQ[ FromDigits@ Join[ Table[id[[1]], {n}], id, Table[id[[ -1]], {n}]]], k++ ]; Prime@k]; Table[ f@n, {n, 0, 51}] (* Robert G. Wilson v *)

CROSSREFS

Sequence in context: A003369 A099824 A098533 this_sequence A142251 A125633 A089662

Adjacent sequences: A117623 A117624 A117625 this_sequence A117627 A117628 A117629

KEYWORD

base,nonn

AUTHOR

Lekraj Beedassy (blekraj(AT)yahoo.com), Apr 08 2006

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Apr 12 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research