Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A090268
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A090268 Smallest prime obtained by sandwiching prime(n) between identical digits, except that a(5) = 0. +0
2
727, 131, 151, 373, 0, 331333, 1171, 9199, 1231, 1291, 3313, 3373, 3413, 3433, 1471, 1531, 3593, 3613, 3673, 7717, 3733, 3793, 1831, 1111891111, 11197111, 31013, 31033, 11071, 91099, 11131, 3312733, 11311, 111137111, 31393, 11491, 31513 (list; graph; listen)
OFFSET

1,1

MAPLE

isA010785 := proc(n) convert(convert(n, base, 10), set) ; if nops(%) = 1 then true ; else false ; fi ; end: A055642 := proc(n) ilog10(n)+ 1; end: A090268 := proc(n) local kern, k, p ; if n = 5 then RETURN(0) ; fi ; kern := ithprime(n) ; k := 1 ; while true do if isA010785(k) then p := k+10^A055642(k)*kern+k*10^(A055642(k)+A055642(kern)) ; if isprime(p) then RETURN(p) ; fi ; fi ; k := k+1 ; od ; end: seq(A090268(n), n=1..40); - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 20 2007

CROSSREFS

Cf. A090269.

Sequence in context: A023680 A002769 A084412 this_sequence A090267 A068688 A088283

Adjacent sequences: A090265 A090266 A090267 this_sequence A090269 A090270 A090271

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 28 2003

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 20 2007

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 September 7 15:23 EDT 2008. Contains 143483 sequences.


AT&T Labs Research