On Thu, 2001-11-29 at 03:28, Pong wrote:
> 
> pinahirapan ko pa sarili ko. in general pala, it would be:
> 
> 1 = (9/9) + ((9-9) * (remaining 9s here))
> 2 = (9/9) + (9/9) + ((9-9) * (remaining 9s here))
> 3 = (9/9) + (9/9) + (9/9) + ((9-9) * 9)
> 4 = is the smallest positive integer that cannot be expressed?


4 can be expressed by  9 - ( (9 + 9 +9 ) / 9) + (9/9) + (9/9)

hehe i'm thinking of a formula to solve this rather than trial and error
so im cc'ing this to ph-phyton maybe they would have time to play with
it too

and yeah let's put this on plug-misc off topic sa plug


> > 
> > I ran across an intriguing Slashdot banner by ita software. The problem
> > goes: "Combining nine 9s with any number of operators +,-,*,/,(,), what is
> > the smallest positive integer that cannot be expressed?"
> > 
> 

-- 
-Dek
[EMAIL PROTECTED]

" This is Unix, Stop acting so helpless "
        -- Dan Bernstein

_
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