cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A114787 Smallest prime of the form: all fives followed by prime(n). a(n) >prime(n). 0 if no such prime exists.

This page as a plain text file.
%I A114787 #20 Dec 05 2013 19:57:14
%S A114787 0,53,0,557,55511,
%T A114787 55555555555555555555555555555555555555555555555555555555555555555555513,
%U A114787 55555517,5519,523,55529,5531,0,541,55555543,547,55555553,55555559
%N A114787 Smallest prime of the form: all fives followed by prime(n). a(n) >prime(n). 0 if no such prime exists.
%C A114787 Prime(n) is all zeros followed by prime(n). This is all fives followed by prime(n).
%C A114787 The next sequence in this progression, "Smallest prime of the form: all sixes followed by prime(n), a(n)> prime(n)", begins 0, 0, 0, 67, then (5) = 2*(10^5039 - 1)/3 - 55, a number that consists of 5037 sixes followed by 2 ones. This does not fit into the constraints of the OEIS. _N. J. A. Sloane_, Nov 20 2005, based on information from Hans Havermann.
%C A114787 The large number is quickly certified prime by PARI's APRCL test: isprime(555...513,2) -> 1. - _Hagen von Eitzen_, Jun 17 2009
%C A114787 Next term is 5*(10^184 - 1)/9 + 6, containing 184 digits, and is too large to include here. - _Arkadiusz Wesolowski_, Jun 03 2013
%e A114787 a(5) = 55511, as 511, 5511 are composite, prime(5) = 11.
%e A114787 All positive numbers of the form 5*(10^k - 1)/9 - 18 have a factor in the covering set {3, 7, 13, 37}, so a(12) = 0. - _Arkadiusz Wesolowski_, Jun 03 2013
%Y A114787 Cf. A114783, A114784, A114785, A114786.
%K A114787 base,nonn
%O A114787 1,2
%A A114787 _Amarnath Murthy_, Nov 17 2005
%E A114787 More terms from _Joshua Zucker_, May 06 2006
%E A114787 Edited by _T. D. Noe_, Oct 30 2008
%E A114787 a(12)-a(17) from _Arkadiusz Wesolowski_, Jun 03 2013