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

You are not logged in.

#51 2013-05-02 11:00:35

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Of course, I changed post #49.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#52 2013-05-02 11:05:42

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

It still looks  the same.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#53 2013-05-02 11:07:02

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

You must have seen it after the edit...

This is barebones skeleton code. No frills or amenities added.

Initialize and define the function.

p={300,250 ,175,100,75,50 ,25,15,7,3,1};

fubar[n_] := Module[{},
  h = n/c;
  c -= n;
  h]

Some more initialization, pck is the draft pick.

pck = 5;
s = Permutations[p, {pck}];

This is what runs. I pick 75 because it is 5th in p as the number of balls the fifth player gets.

ans = Select[s, #[[pck]] == 75 &]; 
Product[k, {k, #}] & /@ 
  Table[c = 1001; 
   fubar[#] & /@ ans[[k]], {k, 1, Length[ans]}] // Total

In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#54 2013-05-02 12:31:40

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

I think I understand it. It is very, very messy, though.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#55 2013-05-02 12:35:29

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Hmmm. It is a model of efficiency and originality. Pennypingdon, he walked on his hands to spare his feet.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#56 2013-05-02 12:38:30

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

Well, I do not know how efficient it is, but one thing is sure - it looks nasty.

Anyway, how does it do on picks no. 9, 10 and 11?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#57 2013-05-02 12:43:30

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Functional style always looks nasty.

Combinatorial explosion - it is nasty.  I will do one.



In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#58 2013-05-02 12:51:05

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

It does not always look nasty.

Hey, I just remembered. It's been a long time since we last used quantum math! Maybe we should try that?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#59 2013-05-02 12:52:04

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

When it is done right, it looks nasty.

What the heck is quantum math?


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#60 2013-05-02 12:54:11

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

You are supposed to know. You cane up with it. But it was for a geometry problem, so I am not sure if it is applicable.

Try P(team 1 picks 11th).


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#61 2013-05-02 13:06:44

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

I have never heard of it.

The program is not fast enough for the last couple.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#62 2013-05-02 13:48:56

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

What can we do about those?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#63 2013-05-02 13:52:22

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Combinatorial explosion is the enemy of everything we do. We can:

1) Come up with a method of permutation generation that does not generate them all, just the ones we need.

2) Compile the function or write part of it in some other language.

3) Use the first couple of values to figure out an analytical answer or an asymptotic one.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#64 2013-05-02 20:39:25

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

I will go with 3.

By the way:

bobbym wrote:

My solution consists of using geogebra with an increment of .0000000000000000000000000000000000000000001 at this small increment quantum math takes over and even though that is over 10^43 points it is done instantaneously. Then I put the 10^43 values into the spreadsheet and curve fit. Because in quantum math 10^43  equals infinity the fit was exact. Got the same answer you did.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#65 2013-05-02 21:15:13

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Kaboobly doo! I was obviously hacked,


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#66 2013-05-02 21:18:30

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

Should we report it to MIF, then?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#67 2013-05-02 21:20:39

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

I do not see why. I do not like quantum computing or any quantum qaboobly doo.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#68 2013-05-02 21:21:52

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

Well, if you were hacked, it might be an issue.


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#69 2013-05-02 21:27:03

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

I do not even remember the post.


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

#70 2013-05-02 21:39:33

anonimnystefy
Real Member
From: The Foundation
Registered: 2011-05-23
Posts: 14,836

Re: Fantasy League Draft Lottery Question

Well, you said you were hacked. Should we report that to MIF?


“Here lies the reader who will never open this book. He is forever dead.

“Taking a new step, uttering a new word, is what people fear most.” ― Fyodor Dostoyevsky, Crime and Punishment

Offline

#71 2013-05-02 21:41:10

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 81,616

Re: Fantasy League Draft Lottery Question

Could be those darn reptilloids...


In mathematics, you don't understand things. You just get used to them.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

Offline

Board footer

Powered by FluxBB