login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A230482
a(n) = (prime(prime(2*n)) - prime(2*prime(n)))/2.
2
-1, 2, 6, 12, 15, 28, 26, 39, 42, 41, 54, 44, 63, 72, 63, 81, 75, 102, 105, 105, 124, 121, 117, 174, 133, 134, 160, 181, 190, 197, 152, 198, 170, 240, 189, 210, 233, 243, 238, 232, 249, 289, 238, 283, 296, 339, 300, 228, 262, 330, 357, 371, 384, 378, 372
OFFSET
1,2
COMMENTS
As difference of two odd primes, all terms of A230481(n) = prime(prime(2*n))-prime(2*prime(n)) are even, which motivates to define the present sequence.
Further values: a(100)=617, a(10^3)=9344, a(10^4)=114171, a(10^5)=1325772, a(10^6)=14979156; a(10^10)~2.2*10^11, a(10^20)~3.9*10^21, a(10^30)~5.5*10^31.
LINKS
FORMULA
a(n) = (A217622(n) - A230460(n))/2.
PROG
(PARI) a=n->(prime(prime(2*n))-prime(2*prime(n)))/2
CROSSREFS
KEYWORD
sign
AUTHOR
M. F. Hasler, Oct 20 2013
STATUS
approved