Hello Boulder Rubyists I came across Project Euler recently as a good way to learn Ruby; solving the mathematical problems there has been very addictive! Ran into issues with some of the problems where my brute-force method of programmatically analyzing every possible path/option did not work- the program ran for more than a day before I lost patience. So was wondering if anyone one else in this group has been bitten by this bug before and could suggest some alternate approaches to these problems. A couple of problems that I have difficulty solving:Problem 12: What is the value of the first triangle number to have over five hundred divisors? Problem 44: Find the smallest pair of pentagonal numbers whose sum and difference is pentagonal.
Cheers, Prakash N Murthy (347) 228 3993 http://twitter.com/_prakash
_______________________________________________ Bdrg-members mailing list [email protected] http://rubyforge.org/mailman/listinfo/bdrg-members
