OFFSET
1,1
MATHEMATICA
d = {}; less = Select[Range[1607], PrimeQ[#] && PrimeQ[# + 2] &]; Do[Do[AppendTo[d, less[[m]] less[[n]]], {m, n + 1, Length[less]}], {n,
1, Length[less] - 1}]; Take[Sort[d], 55]
PROG
(PARI) list(lim)=my(v=List(), p=5); forprime(q=7, lim\3+2, if(q-p==2, my(r=3); forprime(s=5, min(lim\p+2, p), if(s-r==2, listput(v, p*r)); r=s)); p=q); Set(v) \\ Charles R Greathouse IV, Oct 21 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Oct 21 2022
STATUS
approved