From: draq Date: 2005-12-13T02:02:59+09:00 Subject: Re: Calculating single-digit summands Corrections: # examples calc(24, 3).each do |a| print "#{a} - " end; puts calc(24, 4).each do |a| print "#{a} - " end; puts # even summands of 45 can be calculated now. It was impossible with the older algorithm. calc(45, 9).each do |a| print "#{a} - " end; puts draq