Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**Amartyanil****Member**- Registered: 2013-05-27
- Posts: 39

What is the seven bridges?

"The most incomprehensible thing about the universe is that it is comprehensible." -Albert Einstein

Offline

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

Hi Amartyanil;

The seven bridges of konigsberg is an amazing problem first investigated and solved by Leonhard Euler.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

Didn't know there's an MIF page on it

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

There is an MIF page on everything.

pappym wrote:

Seek and ye shall find.

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

There is an MIF page on everything.

Nope. Atleast sphider doesn't get it.

http://www.mathsisfun.com/sphider/search.php?query=everything&submit=Search&search=1

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

I did not mean everything in the exact sense there is no page about me there...

**In mathematics, you don't understand things. You just get used to them.**

**I agree with you regarding the satisfaction and importance of actually computing some numbers. I can't tell you how often I see time and money wasted because someone didn't bother to run the numbers.**

Offline

You can ask him to make one

'And fun? If maths is fun, then getting a tooth extraction is fun. A viral infection is fun. Rabies shots are fun.'

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

I did, he won't budge!

**In mathematics, you don't understand things. You just get used to them.**

Offline

We do not have a page about N-Queens either

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

That is right but I have a good post about it.

**In mathematics, you don't understand things. You just get used to them.**

Offline

Link?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

Sorry, I did a nice post on non attacking rooks which is harder. I got confused.

There is tons of stuff about it on the internet. I can probably answer any question you might have on it.

**In mathematics, you don't understand things. You just get used to them.**

Offline

I think it is easier than that

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

It sure is, I have the definitive work on such problems.

**In mathematics, you don't understand things. You just get used to them.**

Offline

OK. Would you explain a code?

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

You mean a program?

**In mathematics, you don't understand things. You just get used to them.**

Offline

Yes. From here: http://en.wikipedia.org/wiki/Eight_queens_puzzle

```
from itertools import permutations
n = 8
cols = range(n)
for vec in permutations(cols):
if (n == len(set(vec[i] + i for i in cols))
== len(set(vec[i] - i for i in cols))):
print vec
```

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

Hi;

It uses a method of generating all the permutations like the M code does at Rosetta. Unfortunately, I do not understand what the heck he is doing.

**In mathematics, you don't understand things. You just get used to them.**

Offline

I read somewhere that it filters out the solutions from the Rook problem

'God exists because Mathematics is consistent, and the devil exists because we cannot prove it'

'You have made another human being happy. There is no greater accomplishment.' -bobbym

**Online**

**bobbym****Administrator**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 88,520

That is correct. Then it only has to check like a bishop. Off course there is a little more to that routine.

**In mathematics, you don't understand things. You just get used to them.**

Offline

Pages: **1**