Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Prime(prime(2*n)) - 2*prime(n).
1

%I #26 Dec 06 2014 18:02:58

%S 1,11,31,53,87,131,157,203,237,295,339,387,465,501,523,633,679,755,

%T 833,889,941,1013,1051,1231,1253,1297,1391,1455,1523,1597,1659,1801,

%U 1825,1991,2053,2115,2235,2321,2385,2457,2551,2657,2727,2843,2905

%N Prime(prime(2*n)) - 2*prime(n).

%C For n = 12239, 24046, 24140, 24255, ... a(n+1) = a(n), and for n = 2154, 2524, 2810, 3795, ... a(n+1) < a(n). What is the smallest number n such that a(n+2) <= a(n+1) <= a(n)? - _Farideh Firoozbakht_, Oct 18 2013

%C Using the Prime Number Theorem, prime(n) ~ n log n, the asymptotic behavior is the same as that of A217622, a(n) ~ 2n (log 2n) log(2n log 2n). - _M. F. Hasler_, Oct 19 2013

%F a(n) = A217622(n) - 2*A000040(n).

%F a(n) = A217622(n) - A100484(n). - _Omar E. Pol_, Oct 19 2013

%t Table[Prime[Prime[2n]] - 2Prime[n], {n, 45}]

%o (PARI) A230329(n)=prime(prime(2*n))-2*prime(n) \\ _M. F. Hasler_, Oct 19 2013

%Y Cf. A230098, A230285, A066066.

%K nonn,easy

%O 1,2

%A _Gerasimov Sergey_, Oct 16 2013

%E Corrected by _R. J. Mathar_, Oct 18 2013