OFFSET
1,2
COMMENTS
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
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
FORMULA
MATHEMATICA
Table[Prime[Prime[2n]] - 2Prime[n], {n, 45}]
PROG
(PARI) A230329(n)=prime(prime(2*n))-2*prime(n) \\ M. F. Hasler, Oct 19 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Gerasimov Sergey, Oct 16 2013
EXTENSIONS
Corrected by R. J. Mathar, Oct 18 2013
STATUS
approved