Caryl,
The formula has been modified slightly from a book I was reading called Innumeracy by John Allen Paulos (
http://www.amazon.com/Innumeracy-Mathematical-Illiteracy-Its-Consequences/dp/0809058405/ref=sr_1_1?ie=UTF8&s=books&qid=1273847285&sr=1-1)
He has some chapters devoted to probability and chance, how many unique combinations of ice cream cones (3 scoop) can you get at Baskin Robins (32 flavors), 32 x 31 x 30 combinations if you don't want to repeat the same 3 in order. It gets more complex, but I thought it would turn into a very interesting word problem.
The formula was probably off by a little! I have never been perfect at writing mathematical proofs or visual algorithmic structures. (I am doing MIT Open Course on Algorithms though to try and change that)
I hope that homework assignment proved to be a little fun though, and I had never thought about the sides comparison.
A for effort! Stumping the teacher!
By the way, I am not sure if you saw my comment on free amazon ec2 accounts, Doug is setting this up through Amazon for the first 10 or so who want the accounts. They are a corporate sponsor of the Dojo.
--
Scott Haines
Founder / Creative Director / Lead Architect
Newfront Creative LLC
P
408.905.8473 C
408.705.7833http://www.newfrontcreative.com
http://www.twitter.com/newfront