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[25000], test8[ # ]&&!testb[ # ]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre and Dean Hickerson, Apr 26 2002
STATUS
approved