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!)
A113889 Smallest prime of the form: all sevens followed by prime(n); a(n) > prime(n); or 0 if no such prime exists. 0
0, 73, 0, 0, 77711, 77713, 7717, 719, 7723, 77777777777777777729, 77731, 777737, 7741, 743, 77747, 7753, 7759, 761, 77777777767, 7777777777771, 773, 777777777777777777777777777777777777777777777777777777777777777779 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Prime(n) is all zeros followed by prime(n).This is all sevens followed by prime(n). Conjecture: a(n) is nonzero if n >4.
The conjecture has been verified for n<100. - Joshua Albert (jba138(AT)psu.edu), Jan 20 2006
LINKS
EXAMPLE
a(9) = 7723, as 723 is composite, prime(9) = 23.
MATHEMATICA
Join[{0, 73, 0, 0}, Flatten[Select[#, PrimeQ, 1]&/@Table[FromDigits[ PadLeft[ IntegerDigits[n], i, 7]], {n, Prime[Range[5, 30]]}, {i, IntegerLength[ n]+1, 100}]]] (* Harvey P. Dale, Nov 20 2013 *)
CROSSREFS
Sequence in context: A261815 A159440 A308586 * A099191 A051325 A249276
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 18 2005
EXTENSIONS
More terms from Joshua Albert (jba138(AT)psu.edu), Jan 20 2006
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 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)