OFFSET
1,1
EXAMPLE
97 is a member: 97 + 101 = 198. Its factors with multiplicity are 2*3*3*11 and their sum is 2+3+3+11=19, which is a prime.
MATHEMATICA
sopfr[n_] := Plus @@ Times @@@ FactorInteger[n]; Prime@Select[Range[240], PrimeQ[sopfr[Prime[ # ] + Prime[ # + 1]]] &] (* Ray Chandler, Mar 25 2007 *)
PROG
(Magma) [ p: p in PrimesUpTo(1400) | IsPrime(&+[ k[1]*k[2]: k in Factorization(p+NextPrime(p)) ] ) ]; /* Klaus Brockhaus, Mar 25 2007 */
(PARI) {m=1400; p=2; while(p<m, q=nextprime(p+1); f=factor(p+q); if(isprime(sum(j=1, matsize(f)[1], f[j, 1]*f[j, 2])), print1(p, ", ")); p=q)} /* Klaus Brockhaus, Mar 25 2007 */
CROSSREFS
KEYWORD
nonn,less
AUTHOR
J. M. Bergot, Mar 20 2007
EXTENSIONS
Corrected and extended by Ray Chandler and Klaus Brockhaus, Mar 25 2007
STATUS
approved