login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112749 Smallest prime of the form 5 followed by n copies of some digit k. 1
53, 577, 5333, 59999, 511111, 5111111111111, 59999999, 577777777, 5171717171717171717, 59999999999, 52727272727272727272727, 5111111111111, 53333333333333, 577777777777777, 5111111111111111 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

a(3) = 5333, 5 followed by three copies of 3.

MAPLE

cat3 := proc(a, b, n) local resu, i ; resu := a ; for i from 1 to n do resu := resu*10^( max(1, ilog10(b)+1) )+b ; od: RETURN(resu) ; end: A112749 := proc(n) local a, k; for k from 1 do a := cat3(5, k, n) ; if isprime(a) then RETURN(a) ; fi ; od: end: seq(A112749(n), n=1..20) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 08 2008

CROSSREFS

Sequence in context: A177120 A165555 A201855 * A177141 A096707 A027007

Adjacent sequences:  A112746 A112747 A112748 * A112750 A112751 A112752

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 02 2006

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 08 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.