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!)
A233822 a(n) = 2*R(n) - R(n+1), where R(n) is the n-th Ramanujan prime. 4

%I #15 Dec 06 2018 10:12:36

%S -7,5,5,17,35,35,51,63,45,93,95,87,105,147,135,155,177,135,225,225,

%T 227,237,219,257,257,255,303,275,345,331,361,345,393,399,407,429,427,

%U 417,435,483,479,437,567,555,581,587,597,595,573,639,639,641,647

%N a(n) = 2*R(n) - R(n+1), where R(n) is the n-th Ramanujan prime.

%C a(n) = 2*A104272(n) - A104272(n+1).

%C Paksoy proved that a(n) > 0 for n > 1.

%C Paksoy's theorem is the analog for Ramanujan primes of Chebychev's theorem (Bertrand's postulate) that 2*prime(n) - prime(n+1) > 0 for n > 0 (see A062234).

%H Dana Jacobsen, <a href="/A233822/b233822.txt">Table of n, a(n) for n = 1..10000</a>

%H Baris Paksoy, <a href="http://arxiv.org/abs/1210.6991">Derived Ramanujan primes: R'_n</a>, arXiv:1210.6991 [math.NT], 2012.

%e The only negative term is a(1) = 2*R(1) - R(2) = 2*2 - 11 = -7.

%t nn = 100;

%t R = Table[0, {nn}]; s = 0; Do[If[PrimeQ[k], s++]; If[PrimeQ[k/2], s--]; If[s < nn, R[[s + 1]] = k], {k, Prime[3*nn]}]; R = R + 1;

%t Most[2 R - RotateLeft[R]] (* _Jean-François Alcover_, Dec 06 2018, after _T. D. Noe_ in A104272 *)

%o (Perl) use ntheory ":all"; say 2*nth_ramanujan_prime($_)-nth_ramanujan_prime($_+1) for 1..10 # _Dana Jacobsen_, Sep 02 2017

%Y Cf. A062234, A104272, A225907.

%K sign

%O 1,1

%A _Jonathan Sondow_, Dec 16 2013

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 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)