OFFSET
1,1
COMMENTS
If multiples of 2, 3, 5 and 7 are not excluded, then terms like 14, 35, 77, 110, 170, 273,... belong to the sequence. - Giovanni Resta, May 21 2013
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..589 (terms < 10^12)
MATHEMATICA
qcm[n_, d_] := Block[{p, e}, {p, e} = Transpose@FactorInteger@n; Length[p] > 1 && Max[e] == 1 && d < Min[p] && And @@ IntegerQ /@ ((n - d)/(p - d))]; Select[Range[10^6], qcm[#, 8] &] (* Giovanni Resta, May 21 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved