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

You are not logged in.

- Topics: Active | Unanswered

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

May I see your code?

'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'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

There is a very good reason why you may not.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Is there?

'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'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Yes, I do not have any code at all other than a slow simulation using something like yours.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

What is the size of the tree for n kegs?

'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'

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

I do not know but I know what it is for a Markov chain.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Tell me.

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

I believe it is like n! or (n-1)!

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Do you have the answer for 10? 10! is not really very large.

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

I have a simulation answer for any amount I want. But an exact answer...nope.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

A closed form might not exist.

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

That only again shows the ineptness of mathematics and those blasted methods.

This is part of a problem posed elsewhere and I can not solve it and neither can they.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Did you make any progress on this?

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

The keg problem? No, but I think about it every day. Remember the mighty gAr could not solve it so it is very very tough.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Wait, what? Does this problem date back to the days of gAr?

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

Yes, it does but not over here.

I first saw this problem over here:

http://math.stackexchange.com/questions … 74#1581374

Following one of the most basic rules of EM,

If you can not solve a big problem try to solve a smaller one of the same type.

Of course I would like to solve it for 100 containers.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Hmm, how about we try caching some portions of the tree?

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

I'm not crazy, my mother had me tested.

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 109,606

We could try that but I have been looking at something that would not have to generate the tree!

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**Leesajohnson****Member**- From: London
- Registered: 2018-01-28
- Posts: 3

Make a habit of study math will make you proficient in this subject. It is good to study books and get tuition from expert tutors, is the indication of better future.

advert removed

Offline

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 1,954

Leesajohnson wrote:

Make a habit of study math will make you proficient in this subject. It is good to study books and get tuition from expert tutors, is the indication of better future.

Aren't you a bot?

That's not pertinent to this topic, which is computational mathematics.

*Last edited by Mathegocart (2018-03-12 09:39:39)*

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline

**bob bundy****Administrator**- Registered: 2010-06-20
- Posts: 8,408

Leesajohnson* is probably not a bot. This person put a advert for tutoring services in their signature, which I removed. The administrators and moderators have discussed this growing problem but decided not to ban automatically but rather to remove the advert and wait to see what the member does next.

Some years ago a person joined to tell us about some new mathematical research they had done and included a link to their book sale page. The work was genuine but the advert broke our rules. The person agreed to make a pdf of their work available to MIF members for free and that seemed to be a good compromise.

Some cases are hard to determine such as the recent bit coin maths puzzle post. Do I want to seem to encourage bit coin? But the puzzle was one that members might want to try. So I deleted the link but kept the puzzle.

Bob

ps. * Also I noticed 6 English grammar and spelling faults in that post. What sort of advert is it when the 'tutor' cannot write good English?

Make a habit of study

ingmathand thiswill make you proficient in this subject. It is good to studyfrombooks and get tuition from expert tutors,full stop / new sentence starting with 'This'is the indication ofreplace 'of' with 'for a'better future.

pps. On the other hand if this is from a bot, then it's entirely appropriate to post it in 'computational math'.

Children are not defined by school ...........The Fonz

You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei

Offline

**Mathegocart****Member**- Registered: 2012-04-29
- Posts: 1,954

bob bundy wrote:

Leesajohnson* is probably not a bot. This person put a advert for tutoring services in their signature, which I removed. The administrators and moderators have discussed this growing problem but decided not to ban automatically but rather to remove the advert and wait to see what the member does next.

Some ago a person joined to tell us about some new mathematical research they had done and included a link to their book sale page. The work was genuine but the advert broke our rules. The person agreed to make a pdf of their work available to MIF members for free and that seemed to be a good compromise.

Some cases are hard to determine such as the recent bit coin maths puzzle post. Do I want to seem to encourage bit coin? But the puzzle was one that members might want to try. So I deleted the link but kept the puzzle.

Bob

ps. * Also I noticed 6 English grammar and spelling faults in that post. What sort of advert is it when the 'tutor' cannot write good English?

Make a habit of study

ingmathand thiswill make you proficient in this subject. It is good to studyfrombooks and get tuition from expert tutors,full stop / new sentence starting with 'This'is the indication ofreplace 'of' with 'for a'better future.pps. On the other hand if this is from a bot, then it's entirely appropriate to post it in 'computational math'.

Yes. I am wary of these suspicious people posting some psuedoadvertisements.

And so many [sic]s, making me [sic]!

pps. Hmmmm. Indeed.

The integral of hope is reality.

May bobbym have a wonderful time in the pearly gates of heaven.

He will be sorely missed.

Offline