OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
MAPLE
R:= 2: r:= 2:
for i from 1 to 100 do
p:= nextprime(r);
while numtheory:-bigomega(r+p) <> numtheory:-bigomega(p-r) do
p:= nextprime(p)
od;
R:= R, p; r:= p;
od:
R;
MATHEMATICA
s = {p = 2}; Do[q = NextPrime[p]; While[PrimeOmega[p + q]
!= PrimeOmega[q - p], q = NextPrime[q]]; AppendTo[s, p = q], {200}]; s
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov and Robert Israel, Jun 07 2023
STATUS
approved