OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Twin Primes
FORMULA
a(n)=Sum_{x=n-th greater of twin primes..(n+1)th greater of twin primes}-(-1)^x*x - Juri-Stepan Gerasimov, Jul 14 2009
MATHEMATICA
s=Select[Range[2000], PrimeQ[ # ]&&PrimeQ[ #-2]&]; (Drop[s, 1]+Drop[s, -1])/2
CROSSREFS
KEYWORD
nonn
AUTHOR
Vincenzo Origlio (vincenzo.origlio(AT)itc.cnr.it), Feb 13 2003
EXTENSIONS
Edited by Dean Hickerson, Feb 14 2003
STATUS
approved