On Mon, Aug 23, 1999 at 05:27:01PM -0400, Prakash Kailasa wrote: > John's solution found only 19 solutions. > Here's mine (which isn't short either). It found 187 solutions. OOPS! You're right. I had coded chooseN to return combinations, with the intention of permuting the results -- which I promptly forgot to do. I rewrote it to return permutations, and now I get the same answer as Prakash. -- John Porter ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe