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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114786 Smallest prime of the form: all fours followed by prime(n). a(n) >prime(n). 0 if no such prime exists. 1
0, 43, 0, 47, 44444444444444411, 44444444413, 44417, 419, 4423, 4444444429, 431, 444444437, 4441, 443, 4447, 44453, 44444459, 461, 467, 4444471, 444473, 479, 4483, 44444489, 44497, 44101, 444444103, 444444444444107, 444109, 444113, 4127 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Prime(n) is all zeros followed by prime(n).This is all fours followed by prime(n). Conjecture: No term is zero for n > 3.

a(346) = 0 or a(346) > 5000, but note a(892) = 3612.  [D. S. McNeil, Feb 4 2011]

EXAMPLE

a(7) = 44417, as 417,4417 are composite prime(7) = 17.

MATHEMATICA

Table[If[n==1||n==3, 0, Select[FromDigits/@(Join[#, IntegerDigits[Prime[n]]]& /@ (Table[PadLeft[{4}, k, 4], {k, 50}])), PrimeQ, 1][[1]]], {n, 35}]  [From Harvey P. Dale, Feb 03 2011]

CROSSREFS

Cf. A114783, A114784, A114785.

Sequence in context: A152508 A070177 A173866 * A139424 A051318 A036202

Adjacent sequences:  A114783 A114784 A114785 * A114787 A114788 A114789

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 17 2005

EXTENSIONS

More terms from Joshua Zucker (joshua.zucker(AT)stanfordalumni.org), May 06 2006

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 16 13:12 EST 2012. Contains 205909 sequences.