OFFSET
0,1
LINKS
Robert Israel, Table of n, a(n) for n = 0..149
EXAMPLE
a(3) = 11, with 3 primes of the form 11+t where t is a divisor of 10 or 12, namely 13 = 11+2, 17 = 11+6 and 23=11+12.
MAPLE
f:= proc(p)
nops(select(t -> isprime(t+p), numtheory:-divisors(p-1) union numtheory:-divisors(p+1)))
end proc:
V:= Array(0..50):
count:= 0: p:= 1:
while count < 51 do
p:= nextprime(p);
v:= f(p);
if v <= 50 and V[v]=0 then count:= count+1; V[v]:= p; fi
od:
convert(V, list);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 29 2020
STATUS
approved