(1 to 10000).map{x=>if(x.toString.split("").distinct.size==3)println(x)}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page