OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=7 is in the sequence because 7+11=3*(5+1) where 11 is the next prime after 7, and 7, 3 and 5 are primes.
MAPLE
filter:= proc(t) local q, p;
for p in numtheory:-factorset(t) do
q:= t/p-1;
if q > p and isprime(q) then return true fi
od;
false
end proc:
B:= select(filter, [seq(ithprime(i)+ithprime(i+1), i=1..1000)]):
map(t -> prevprime(t/2), B);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Sep 23 2020
STATUS
approved