OFFSET
1,1
MATHEMATICA
Select[Range[2, 130], ! (PrimeQ[ # ] || (Plus @@ Last /@ FactorInteger[ # - 1] == 2 && Length[FactorInteger[ # - 1]] == 2)) &] (* Ray Chandler, Aug 25 2005 *)
fQ[n_] := Last /@ FactorInteger[n] != {1, 1}; Select[ Range[2, 128], !PrimeQ[ # ] && fQ[ # - 1] &] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Aug 20 2005
EXTENSIONS
Extended by Robert G. Wilson v and Ray Chandler, Aug 25 2005
STATUS
approved