for(n<-1 to 8;a<-1 to 8;d<-1 to(9-a)/n)println((a/:1.to(n))(10*_+a+d*_))