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!)
A071328 Smallest prime q such that q - prime(n) >= n. 2

%I #7 Jul 12 2019 14:54:10

%S 3,5,11,11,17,19,29,29,37,41,43,53,59,59,67,71,79,79,89,97,97,101,107,

%T 113,127,127,131,137,139,149,163,163,173,173,191,191,197,211,211,223,

%U 223,223,239,239,251,251,263,271,277,281,293,293,307,307

%N Smallest prime q such that q - prime(n) >= n.

%C a(n) = A007918(n + A000040(n));

%C a(n) = A071329(n) iff a(n) = A061068(k) for some k.

%H Robert Israel, <a href="/A071328/b071328.txt">Table of n, a(n) for n = 1..10000</a>

%e a(10) = A007918(10 + A000040(10)) = A007918(10 + 29)= A007918(39) = 41;

%e a(6) = A007918(6 + A000040(6)) = A007918(6 + 13)= A007918(19) = 19 = A071329(6) = A061068(4).

%p seq(nextprime(n + ithprime(n)-1),n=1..100); # _Robert Israel_, Jul 12 2019

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, May 19 2002

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 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)