|
〇〇 发表于 2016-9-8 11:09
这样少点
abcd%(a+b+c+d+e+f)=0 and abce%(a+b+c+d+e+f)=0 =>abc(d+e)%(a+b+c+[d+e]+f)=0
设d+e=x
with t as(select level n from dual connect by level<=400)
select * from t a,t b,t x,t y
where a.n<b.n and x.n>4*5 and y.n>3*6
and mod(a.n*b.n*x.n*y.n,(a.n+b.n+x.n+y.n))=0
and rownum<=10;
N N N N
---------- ---------- ---------- ----------
1 2 21 24
1 2 21 32
1 2 21 39
1 2 21 48
1 2 21 60
1 2 21 88
1 2 21 102
1 2 21 120
1 2 21 144
1 2 21 228
|
|