Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Maths

Name: Anonymous 2008-10-17 10:51

a * b * c = 1
a + b + c = 1

How do enumerated some solutions?

Name: Anonymous 2008-10-17 11:06

because you're posting on /prog/ i doubt you can write your own solution.  use a library.

Name: Anonymous 2008-10-17 13:04

Using PROLOG.  Or Maxima.

Name: Anonymous 2008-10-17 13:20

for a in range(-1000000000, 100000000):
    for b in range(-1000000000, 1000000000):
        for c in range(-1000000000, 1000000000):
            if a * b * c == 1 and a + b + c == 1:
                print a, b, c


Go!

Name: Anonymous 2008-10-17 13:41

>>4
You missed the most obvious case, a = 1j, b = -1j, c = 1.

(Were you serious or not?)

Name: Anonymous 2008-10-17 13:42



    Using PROLOG.  Or Maxima.

Name: Anonymous 2008-10-17 13:48

>>6
MAXIMA! I LOVE MAXIMA!

Name: Anonymous 2008-10-17 14:47

>>5
Of course I wasn't. I should hope /prog/'s standards haven't fallen that much.
Though if you're going to allow imaginary numbers, you should really allow reals as well.

Name: Anonymous 2008-10-17 15:47

it has no solution

Name: Anonymous 2008-10-17 16:52

>>9
It has no real solution.

Name: Anonymous 2008-10-17 17:27

>>9,10
Same thing.

Name: Anonymous 2008-10-17 17:28

>>9
Back to first semester of Algebra 2/Trig, please

Name: Anonymous 2008-10-17 17:41

|*****|
|*****|
|*****|
|*****|
|*****|

Name: Anonymous 2008-10-17 17:51

>>13
Holy shit that was fun, where can I buy the full version?

Name: Anonymous 2008-10-17 17:54

>>14
/prog/ Store

Name: Anonymous 2008-10-17 20:08

Name: Anonymous 2008-10-17 23:08

4chan
FOUR MORE YEARS!
404 - Not Found
Copyright © 2003-2008 4chan. All rights reserved.

Name: Anonymous 2008-10-18 2:01

>>17
Wait, is /prog/ copyright?   Sorry, but I can't in good conscience continue to participate until moot releases it under the GFDL.

Name: Anonymous 2008-10-18 3:21

I'm releasing my post to the public domain

Name: Anonymous 2008-10-18 3:39

poop

<bold>poop</bold>

<b>poop</b>

Name: Anonymous 2008-10-18 9:11

Hey, go here and vandalize this black supremacy forum. The link is http://dis.4chan.org/prog

Name: Anonymous 2008-10-18 9:55

WTF IS THIS SHIT???!?!??!?

Name: Anonymous 2010-11-02 7:27

Name: Anonymous 2010-12-23 19:19


Don't change these.
Name: Email:
Entire Thread Thread List