OFFSET
1,1
FORMULA
a(n)=Min[x; A080356(x)=n]
EXAMPLE
n=7: first seven twin primes counted between 99 and 198: {101,107,137,149,179,191,197}.
MATHEMATICA
f[x_] := Count[Table[PrimeQ[j]&&PrimeQ[j+2], {j, x, 2*x}], True] t=Table[0, {100}]; Do[s=f[n]; If[s<101&&t[[s]]==0, t[[s]]=n], {n, 1, 10000}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 19 2003
STATUS
approved