OFFSET
1,2
COMMENTS
Numbers k such that A341237(k) = 0.
Is the sequence finite? After a(351) = 12077 there are no other terms < 3*10^6.
Is 3 the only term divisible by 3?
LINKS
Robert Israel, Table of n, a(n) for n = 1..351
EXAMPLE
a(4) = 7 is a term because for each of the consecutive prime pairs (p,q) = (2,3), (3,5), (5,7), (7,11), (11,13), the corresponding pairs (14-q,14-p) = (11,12), (9,11), (7,9), (3,7), (1,3) are not consecutive primes.
MAPLE
filter:= proc(n) local p, q, count;
q:= 2: count:= 0:
while q < 2*n -2 do
p:= q; q:= nextprime(q);
if isprime(2*n-p) and prevprime(2*n-p)=2*n-q then return false fi;
od;
true
end proc:
select(filter, [$1..200]);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Feb 07 2021
STATUS
approved