Sphenic Numbers by tabasa

z=[2]\x0d
r=[2]+[i*2+3 for i in range(65)]\x0d
for i in range(66):\x0d
 y=0\x0d
 for w in range(i/2+1):\x0d
  if r[i]%(w+2)==0:y=1\x0d
 if y==0:z+=[r[i]]\x0d
y=[];l=len(z)\x0d
for i in range(l):\x0d
 for j in range(l-i-1):\x0d
  for k in range(l-i-j-2):\x0d
   y+=[z[i]*z[i+j+1]*z[i+j+k+2]]\x0d
y.sort()\x0d
b=0\x0d
for a in y:\x0d
 if a!=b and a<763:print a\x0d
 b=a

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top