OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=25 is in the sequence because the six primes starting with prime(25)=97 are 97, 101, 103, 107, 109, 113, and the points (97,101), (103,107) and (109,113) are collinear, all being on the line y=x+4.
MAPLE
P:= [seq(ithprime(i), i=1..2005)]:
select(n -> (P[n+2]-P[n])*(P[n+5]-P[n+1]) = (P[n+3] - P[n+1])*(P[n+4]-P[n]), [$1..2000]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, Oct 25 2020
STATUS
approved