OFFSET
2,1
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
EXAMPLE
a(3) = 3 where 5*3 + 7*5 + 11*7 = 167 is prime.
MAPLE
f:= proc(n) local k, t;
for k from 1 do
t:=ithprime(n)*ithprime(k) + ithprime(n+1)*ithprime(k+1) + ithprime(n+2)*ithprime(k+2);
if isprime(t) then return ithprime(k) fi;
od
end proc:
map(f, [$2..100]);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Jan 22 2021
STATUS
approved