TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- Smart?
Pages (6): « 1 2 3 4 5 [6]
^^ why prove something, when you can just write a program in c to do it for you 
| quote: |
| Originally posted by Resnick ^^ why prove something, when you can just write a program in c to do it for you |
| quote: |
| Originally posted by Flyboy217 Amazing! A program that solves for ALL the integers? I want it! |
code:
#includevoid main() { int a, b; scanf("%d %d", &a, &b); printf("%d", (a-1)*(b-1) - 1); return; }
| quote: |
Originally posted by DigiNut code: |
| quote: |
| Originally posted by drizzt81 \ that will fail as soon as a or b are >2^32 on x86 or 2^64 on 64 bit machines.. or 2^128 on 128 bit machines.. well you get my idea, there are integers much bigger than 2^n for n in [0,infinity) |

Sure, that's not infinite, but I'd be willing to bet that you'd spend the rest of your life typing in a set of numbers that would cause it to run out of memory.
| quote: |
| Originally posted by DigiNut Oh bloody hell, I didn't realize we were getting technical here. ![]() Fine, just set up two linked lists to perform the multiplication, then it will only fail when it runs out of memory. Sure, that's not infinite, but I'd be willing to bet that you'd spend the rest of your life typing in a set of numbers that would cause it to run out of memory. |
| quote: |
| Originally posted by Flyboy217 Then again, computers are currently crucial in solving the four-color theorem, so I wont bash them too much. |
Damn, I feel dumb now! Whatcha guys talkin about again? Guess the answer to this thread would be NO!!!!!!!!!

| quote: |
| Originally posted by DigiNut I know we've gotten off-topic, but what is that? |
I guess the rest shall remain forever unsolved :-D
This is quite easy to show on paper really ...
| quote: |
| Originally posted by Flyboy217 I guess the rest shall remain forever unsolved :-D |
| quote: |
| Originally posted by UWM This is quite easy to show on paper really ... |
| quote: |
| Originally posted by Flyboy217 The four-color theorem? Well props to you if you can, but mathematicians have tried (and failed) for decades. |
| quote: |
| Originally posted by Flyboy217 Draw a 2-dimensional map (like countries for example). You need to color them in such a way that no two bordering countries have the same color (to avoid confusing the map viewers!). Is there a bound for the number of colors you must use to do this? The answer is 4 (?!). That's right, using 4 colors, you can color ANY map so that no two bordering countries have the same color. It was only eventually proven by enumerating equivalence classes by a computer. Nobody's solved it by hand. I think it's the most famous example of a (partially) computer-proven problem. |
| quote: |
| Originally posted by Flyboy217 The four-color theorem? Well props to you if you can, but mathematicians have tried (and failed) for decades. |
| quote: |
| Originally posted by UWM Well I don't know if I've necessarily proven it, but I was just toying around with it and came up with what looked to be a solution. |
| quote: |
| Originally posted by DJ-Fuq What about a country with 4 other countries bordering it? |

Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.