OFFSET
1,1
EXAMPLE
The 3rd pair of twin primes is twin(3) = (11,13), so a(3) = p(13) = 41.
MATHEMATICA
Prime[#]&/@Transpose[Select[Partition[Prime[Range[300]], 2, 1], Last[#]- First[#] == 2&]][[2]] (* Harvey P. Dale, Nov 29 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
James A. Sellers, Sep 11 2000
STATUS
approved