OFFSET
1,1
COMMENTS
Conjecture: p(2n) - 2p(n) < 2n for all n.
FORMULA
a(n) = A066066(n) - n.
EXAMPLE
a(9) = p(18) - 2p(9) - 9 = 61 - 2*23 - 9 = 6.
MAPLE
A074766:=n->ithprime(2*n)-2*ithprime(n)-n: seq(A074766(n), n=1..100); # Wesley Ivan Hurt, Jan 16 2017
MATHEMATICA
Table[Prime[2 n] - 2 Prime[n] - n, {n, 80}] (* Harvey P. Dale, Mar 04 2017 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Werner D. Sand, Sep 29 2002
STATUS
approved