OFFSET
1,1
COMMENTS
a(n) == n-1 (mod 2).
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(4) = 75 because 75 = 3*5^2 is a triprime > a(3) = 52, 75 - 52 = 23 and 75 + 52 = 127 are prime, and none of the earlier triprimes > 52 (63, 66, 68, 70) works.
MAPLE
A[1]:= 8:
for i from 2 to 100 do
for x from A[i-1]+1 by 2 do
if isprime(x+A[i-1]) and isprime(x-A[i-1]) and numtheory:-bigomega(x) = 3 then
A[i]:= x; break
fi
od od:
seq(A[i], i=1..100);
MATHEMATICA
s={8}; m=8; Do[n = m + 1; While[3 != PrimeOmega[n] || ! PrimeQ[m + n] || ! PrimeQ[n - m], n++]; Print[m=n]; AppendTo[s, m], {10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Mar 14 2023
STATUS
approved