Perl: the Markov chain saw | |
PerlMonks |
Re: x objects in y containers where all objects are usedby vitoco (Hermit) |
on Nov 09, 2009 at 13:36 UTC ( [id://805925]=note: print w/replies, xml ) | Need Help?? |
Using one idea I took from The Oldest Plays the Piano by casiano, I wrote the following script that returns those 6 combinations:
I don't think that this is a Diophantine equation, but it's still a freak way to solve this problem. BTW, does the OP want other combinations like 13|24|5?
In Section
Seekers of Perl Wisdom
|
|