On Thu, Nov 29, 2001 at 11:57:46AM +0800, fooler wrote:

> actually, generating all possible combinations of nine nines with plus,
> minus, times and divide are so easy (see code below). the maximum

But we're not as interested in that as much as we're interested in
finding sequences of numbers that do this. =)

Also, postfix makes parenthesizing irrelevant. ;) It's simple to just
iterate through all the possible operations, but tedious and
inefficient. You'll turn up quite a few non-integers and duplicates
along the way.

Has anyone found a representation for 41 yet?
--------------------------------------------------------------------
Sacha Chua <[EMAIL PROTECTED]>                 3 BS CS Ateneo geek =)
Ateneo Cervini-Eliazo Networks (ACENT) tel: 63(2) 426-6001 loc 5925
BOFH excuse #168: le0: no carrier: transceiver cable problem?
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to