OFFSET
1,1
EXAMPLE
39*2/3 = 26, 23 and 29 are consecutive primes so a(1) = 39.
13*2*3/3 = 26 so a(2) = 13.
MATHEMATICA
a[n_] := Module[{k = 1, p = Product[Prime[i], {i, 1, n}]}, While[!(PrimeQ[k*p/3-3] && NextPrime[k*p/3-3] == k*p/3+3), k++]; k]; Array[a, 60] (* Amiram Eldar, Jul 17 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Aug 22 2004
EXTENSIONS
Data corrected by Amiram Eldar, Jul 17 2021
STATUS
approved