From: Victor Reyes Date: 2007-05-05T04:34:01+09:00 Subject: Re: Help with bigbnum ------=_Part_43804_7351757.1178307238285 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Brian, Actually, NO. This is not a homework questions. It is, however and unfortunately, an issue of my deficiency and lack of knowledge of the language. For pure and simple intellectual curiosity, I am attempting to write a ruby pgm to find perfect numbers. The largest perfect number found to this date, if I believe website http://amicable.homepage.dk/perfect.htm is: (2**32582656) * (2**32582657 - 1). Been the neophyte that I am, I thought about picking it up from there and play with it, since I have at my disposal a very large IBM multiprocessor environment. I know that Brute force is not the way, but I don't have a nice algorithm to use. Thank you Victor On 5/4/07, Brian Candler wrote: > > On Sat, May 05, 2007 at 02:10:58AM +0900, Victor Reyes wrote: > > I am trying to use the following computation: 232582656(232582657-1) > > > > n = (2**32582656) * (2**32582657 - 1) > > Homework question? Brute force probably isn't the way :-) > > ------=_Part_43804_7351757.1178307238285--