OFFSET
1,1
MATHEMATICA
testb[n_] := Select[First/@FactorInteger[n], Mod[2n, #-1]==0&]=={}; test8[n_] := GCD[3n, PowerMod[8, n, 3n]+1]==3; Select[Range[19000], testb[ # ]&&!test8[ # ]&]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Benoit Cloitre and Dean Hickerson, Apr 26 2002
STATUS
approved