OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
22=2*11 and sum of composites between 2 and 11 is: 4+6+8+9+10 = 37, prime.
MATHEMATICA
scpQ[n_]:=Module[{f=Transpose[FactorInteger[n]][[1]], a, b}, a = First[f]+ 1; b=Last[f]-1; PrimeQ[Total[Select[Range[a, b], !PrimeQ[#]&]]]]; Select[ Range[ 510], scpQ] (* Harvey P. Dale, May 07 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Sep 15 2002
STATUS
approved