OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=11 is in the sequence because the 11th through 14th primes are 31, 37, 41, 43, and the area of the triangle with vertices (31,37),(37,41) and (41,43) is |(41-37)^2 - (37-31)*(43-41)|/2 = 2.
MAPLE
P:= select(isprime, [2, seq(i, i=3..10000, 2)]):
DP:= P[2..-1]-P[1..-2]:
select(t -> abs(DP[t+1]^2-DP[t]*DP[t+2])=4, [$1..nops(DP)-2]);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Oct 14 2020
STATUS
approved