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!)
A090268 Smallest prime obtained by sandwiching prime(n) between identical digits, except that a(5) = 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; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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, Jul 20 2007
CROSSREFS
Cf. A090269.
Sequence in context: A306450 A259237 A084412 * A090267 A068688 A088283
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 28 2003
EXTENSIONS
More terms from R. J. Mathar, Jul 20 2007
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)