OFFSET
1,1
COMMENTS
Conjecturally a(n) is always positive. It seems that a(n) might tend to infinity.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
a(3)=2 because the third twin prime pair is (11,13) and there are 2 twin prime pairs between 121 and 169, namely (137,139) and (149,151).
MATHEMATICA
ntpp[{a_, b_}]:=Count[Differences[Select[Range[a^2+1, b^2], PrimeQ]], 2]; ntpp/@ Select[Partition[Prime[Range[300]], 2, 1], #[[2]]-#[[1]]==2&] (* Harvey P. Dale, Oct 04 2019 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Boddington, Jan 30 2003
STATUS
approved