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