OFFSET
1,1
COMMENTS
Complement is: 2, 23, 31, 67, 73, 83, 89, 109, 127, 131, 181, 199, 211, ..., . - Robert G. Wilson v, Aug 03 2010
EXAMPLE
19 is a term because the next consecutive prime is 23, and 19 + 23 = 42, which is a practical number.
MATHEMATICA
PracticalQ[n_] := Module[{f, p, e, prod = 1, ok = True}, If[n < 1 || (n > 1 && OddQ[n]), False, If[n == 1, True, f = FactorInteger[n]; {p, e} = Transpose[f]; Do[If[p[[i]] > 1 + DivisorSigma[1, prod], ok = False; Break[]]; prod = prod*p[[i]]^e[[i]], {i, Length[p]}]; ok]]]; First@# & /@ Select[ Partition[ Prime@ Range@ 85, 2, 1], PracticalQ[Plus @@ # ] &] (* Robert G. Wilson v, Aug 03 2010 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason G. Wurtzel, Jul 24 2010
EXTENSIONS
More terms from Robert G. Wilson v, Aug 03 2010
STATUS
approved