From: "Robert I. Eachus" <eachus@mitre.org>
Subject: Re: Sums of cubes (was Re: histrionics)
Date: 1999/09/24
Date: 1999-09-25T00:12:51+00:00 [thread overview]
Message-ID: <37EC14A2.2289AAEB@mitre.org> (raw)
In-Reply-To: 37EB958C.26DB4C97@ftw.rsc.raytheon.com
Wes Groleau wrote:
> when Constraint_Error =>
> null; -- If the sum gets a constraint error
> -- and the number didn't, it's not a match.
> -- In a block because we don't want an
> -- error on 9,999 to prevent checking 10,000
> -- (I think Robert missed this detail.)
Nope, the sum of cubes of 999 is 3*729 = 2187, the sum of cubes for
9999 is
2916, etc. If you were going for something like the tenth power it
would be an issue.
--
Robert I. Eachus
with Standard_Disclaimer;
use Standard_Disclaimer;
function Message (Text: in Clever_Ideas) return Better_Ideas is...
next prev parent reply other threads:[~1999-09-24 0:00 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-09 0:00 histrionics G
1999-09-08 0:00 ` histrionics Preben Randhol
1999-09-09 0:00 ` histrionics G
1999-09-09 0:00 ` histrionics Nick Roberts
1999-09-09 0:00 ` histrionics Robert Dewar
1999-09-10 0:00 ` histrionics Vladimir Olensky
1999-09-10 0:00 ` histrionics Robert Dewar
1999-09-10 0:00 ` histrionics Ted Dennison
1999-09-11 0:00 ` histrionics Bob Collins
1999-09-12 0:00 ` histrionics Vladimir Olensky
1999-09-13 0:00 ` histrionics Ted Dennison
1999-09-11 0:00 ` histrionics Vladimir Olensky
1999-09-11 0:00 ` histrionics Robert Dewar
1999-09-11 0:00 ` histrionics Vladimir Olensky
1999-09-13 0:00 ` histrionics Robert Dewar
1999-09-11 0:00 ` histrionics Robert Dewar
1999-09-11 0:00 ` histrionics Vladimir Olensky
1999-09-14 0:00 ` histrionics Robert I. Eachus
[not found] ` <7s2l7b$kmr$1@nnrp1.deja.com>
[not found] ` <37E81661.6DCA23E4@mitre.org>
1999-09-22 0:00 ` histrionics Ehud Lamm
1999-09-22 0:00 ` histrionics p.obry
[not found] ` <7saju5$6h6$1@nnrp1.deja.com>
1999-09-22 0:00 ` histrionics Robert I. Eachus
1999-09-23 0:00 ` histrionics Ehud Lamm
1999-09-23 0:00 ` Sums of cubes (was Re: histrionics) Robert I. Eachus
1999-09-24 0:00 ` Wes Groleau
1999-09-24 0:00 ` Robert I. Eachus [this message]
1999-09-27 0:00 ` Wes Groleau
1999-09-24 0:00 ` Robert Dewar
1999-09-24 0:00 ` Robert I. Eachus
1999-09-24 0:00 ` Wes Groleau
1999-09-25 0:00 ` Robert Dewar
1999-09-23 0:00 ` histrionics Ehud Lamm
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox