OFFSET
1,3
FORMULA
a(n)=Min{x : A073131[x]=2n}
EXAMPLE
d=20 appears first at n=14, p(15)=47,p(14)=43, d=p(47)-p(43)=211-191=20, so a(20/2)=a(10)=14.
MATHEMATICA
t=Table[0, {100}]; Do[s = Prime[ Prime[x+1]] - Prime[ Prime[x]]; If[ s < 202 && t[[s/2]]==0, t[[s/2]]=n], {n, 1, 1000}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 16 2002
EXTENSIONS
Edited by Robert G. Wilson v, Jul 17 2002
STATUS
approved