OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..3000
EXAMPLE
a(1)=12 because the 11th prime 31 plus the 14th prime 43 divided by the 12th prime 37 equals 2.
MATHEMATICA
Select[Range[2, 1500], (Prime[ # - 1] + Prime[ # + 2])/(Prime[ # ]) == 2 &] (* Stefan Steinerberger, Jul 26 2006 *)
Module[{c}, Off[Part::partd]; c=Flatten[Position[Partition[Prime[ Range[ 1500]], 4, 1], _?((#[[1]]+#[[4]])/#[[2]]==2&)]]+1; On[Part::partd]; c] (* Harvey P. Dale, Jan 01 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Axel Harvey, Jul 25 2006
EXTENSIONS
More terms from Stefan Steinerberger, Jul 26 2006
STATUS
approved