From: JB Eriksson Date: 2005-12-02T23:47:58+09:00 Subject: Re: [QUIZ] Weird Numbers (#57) ------=_Part_106140_9405650.1133534872150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline please give an example of such a number. english is my second language, and english math speak is more like my sixth language or so (below german,swedish techspeak and english techspeak). On 12/2/05, Ruby Quiz wrote: > > The three rules of Ruby Quiz: > > 1. Please do not post any solutions or spoiler discussion for this quiz > until > 48 hours have passed from the time on this message. > > 2. Support Ruby Quiz by submitting ideas as often as you can: > > http://www.rubyquiz.com/ > > 3. Enjoy! > > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D-=3D-=3D > > by Martin DeMello > > A weird number is defined as a number, n, such that the sum of all its > divisors > (excluding n itself) is greater than n, but no subset of its divisors sum= s > up to > exactly n. > > Write a program to find all the weird numbers less than a given input. > > ------=_Part_106140_9405650.1133534872150--