How many possible spell combinations for a wizard brawling game? The Next CEO of Stack OverflowA formula for combinations?How can I create a subset of the 'most dissimilar' combinations from a set of possible combinations?Possible number of combinationsDifferent Possible Combinations from Different SetsMost efficient way to calculate possible combinationsTotal possible combinations of variablesHow would you work out these combinations?Mathematical formula for calculating combinations of different size between setsLooking for a counting function for combinations of optional and non optional sets(Betting) How many different full time score-combinations can it possibly be out of a 3 game-combination in football?
Spaces in which all closed sets are regular closed
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
A question about free fall, velocity, and the height of an object.
Is it correct to say moon starry nights?
IC has pull-down resistors on SMBus lines?
Aggressive Under-Indexing and no data for missing index
What was Carter Burke's job for "the company" in Aliens?
Can you teleport closer to a creature you are Frightened of?
(How) Could a medieval fantasy world survive a magic-induced "nuclear winter"?
Is fine stranded wire ok for main supply line?
Why is information "lost" when it got into a black hole?
In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?
Is it convenient to ask the journal's editor for two additional days to complete a review?
From jafe to El-Guest
Easy to read palindrome checker
Would a grinding machine be a simple and workable propulsion system for an interplanetary spacecraft?
Purpose of level-shifter with same in and out voltages
How to find image of a complex function with given constraints?
Help/tips for a first time writer?
Film where the government was corrupt with aliens, people sent to kill aliens are given rigged visors not showing the right aliens
what's the use of '% to gdp' type of variables?
My ex-girlfriend uses my Apple ID to login to her iPad, do I have to give her my Apple ID password to reset it?
Could a dragon use its wings to swim?
Inexact numbers as keys in Association?
How many possible spell combinations for a wizard brawling game?
The Next CEO of Stack OverflowA formula for combinations?How can I create a subset of the 'most dissimilar' combinations from a set of possible combinations?Possible number of combinationsDifferent Possible Combinations from Different SetsMost efficient way to calculate possible combinationsTotal possible combinations of variablesHow would you work out these combinations?Mathematical formula for calculating combinations of different size between setsLooking for a counting function for combinations of optional and non optional sets(Betting) How many different full time score-combinations can it possibly be out of a 3 game-combination in football?
$begingroup$
I'm working on a game that involves drafting different spells and I'm trying to figure out how many combinations are possible.
Simply put, each spell has an element and a class:
- There are $10$ elements (Fire, Water, Air, Earth, etc.)
- There are $7$ different classes (Primary, Movement, Melee, Defensive, etc.)
- There is one spell for each element/class combination, therefore $70$ spells
- By the end of the game a wizard will have $7$ spells: one of each class
My questions are:
- I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
If the drafting was restricted to a random $4$ of the $10$ elements each game, how many possible combinations would there be?
EDIT: You would still be drafting $7$ classes of spells, but any combinations with more than $4$ different elements would be illegal. A single game would have $4^7$ combinations, but I'm wondering about all possible games using $4$ out of $10$ elements.
combinations
$endgroup$
add a comment |
$begingroup$
I'm working on a game that involves drafting different spells and I'm trying to figure out how many combinations are possible.
Simply put, each spell has an element and a class:
- There are $10$ elements (Fire, Water, Air, Earth, etc.)
- There are $7$ different classes (Primary, Movement, Melee, Defensive, etc.)
- There is one spell for each element/class combination, therefore $70$ spells
- By the end of the game a wizard will have $7$ spells: one of each class
My questions are:
- I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
If the drafting was restricted to a random $4$ of the $10$ elements each game, how many possible combinations would there be?
EDIT: You would still be drafting $7$ classes of spells, but any combinations with more than $4$ different elements would be illegal. A single game would have $4^7$ combinations, but I'm wondering about all possible games using $4$ out of $10$ elements.
combinations
$endgroup$
add a comment |
$begingroup$
I'm working on a game that involves drafting different spells and I'm trying to figure out how many combinations are possible.
Simply put, each spell has an element and a class:
- There are $10$ elements (Fire, Water, Air, Earth, etc.)
- There are $7$ different classes (Primary, Movement, Melee, Defensive, etc.)
- There is one spell for each element/class combination, therefore $70$ spells
- By the end of the game a wizard will have $7$ spells: one of each class
My questions are:
- I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
If the drafting was restricted to a random $4$ of the $10$ elements each game, how many possible combinations would there be?
EDIT: You would still be drafting $7$ classes of spells, but any combinations with more than $4$ different elements would be illegal. A single game would have $4^7$ combinations, but I'm wondering about all possible games using $4$ out of $10$ elements.
combinations
$endgroup$
I'm working on a game that involves drafting different spells and I'm trying to figure out how many combinations are possible.
Simply put, each spell has an element and a class:
- There are $10$ elements (Fire, Water, Air, Earth, etc.)
- There are $7$ different classes (Primary, Movement, Melee, Defensive, etc.)
- There is one spell for each element/class combination, therefore $70$ spells
- By the end of the game a wizard will have $7$ spells: one of each class
My questions are:
- I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
If the drafting was restricted to a random $4$ of the $10$ elements each game, how many possible combinations would there be?
EDIT: You would still be drafting $7$ classes of spells, but any combinations with more than $4$ different elements would be illegal. A single game would have $4^7$ combinations, but I'm wondering about all possible games using $4$ out of $10$ elements.
combinations
combinations
edited Mar 19 at 21:25
MarianD
1,8961617
1,8961617
asked Mar 19 at 20:43
Brett PenningsBrett Pennings
1035
1035
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
Yes.
If the drafting was restricted to a random 4 of the 10 elements each game, how many possible combinations would there be?
First, choose which four elements are drafted, then choose a spell of each class in the allowable elements. That's $binom104cdot 4^7$.
But wait - we've overcounted. If we only used three of the elements in our final spell list, then there's no way of telling which other element was drafted but not used. There are seven possibilities, so those are counted seven times each, and we'll need to compensate. Subtract six times the number of ways as if we drafted three elements: $-6cdotbinom103cdot 3^7$.
Then, this repeats for two-element spell lists. We've counted them $binom82=28$ ways from four-element drafts and $-6cdot 8=-48$ ways from three-element drafts. To compensate, we add back $21$ times the number of ways as if we drafted two elements: $21cdotbinom102cdot 2^7$.
Finally, one-element spell lists. They're counted $binom93 = 84$ ways from four element drafts, $-6cdotbinom92=-216$ ways from three-element drafts, and $21cdot 9=189$ ways from two-element drafts. To compensate, we subtract $189-216+84-1=-56$ times the number of wats as if we drafted one element: $-56cdotbinom101cdot 1^7$.
Overall, that's
$$binom104cdot 4^7 -6cdotbinom103cdot 3^7 + 21cdotbinom102cdot 2^7 -56cdotbinom101cdot 1^7 = 1986400$$
valid spell lists. Plenty of variety to work with.
$endgroup$
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
add a comment |
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3154583%2fhow-many-possible-spell-combinations-for-a-wizard-brawling-game%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
Yes.
If the drafting was restricted to a random 4 of the 10 elements each game, how many possible combinations would there be?
First, choose which four elements are drafted, then choose a spell of each class in the allowable elements. That's $binom104cdot 4^7$.
But wait - we've overcounted. If we only used three of the elements in our final spell list, then there's no way of telling which other element was drafted but not used. There are seven possibilities, so those are counted seven times each, and we'll need to compensate. Subtract six times the number of ways as if we drafted three elements: $-6cdotbinom103cdot 3^7$.
Then, this repeats for two-element spell lists. We've counted them $binom82=28$ ways from four-element drafts and $-6cdot 8=-48$ ways from three-element drafts. To compensate, we add back $21$ times the number of ways as if we drafted two elements: $21cdotbinom102cdot 2^7$.
Finally, one-element spell lists. They're counted $binom93 = 84$ ways from four element drafts, $-6cdotbinom92=-216$ ways from three-element drafts, and $21cdot 9=189$ ways from two-element drafts. To compensate, we subtract $189-216+84-1=-56$ times the number of wats as if we drafted one element: $-56cdotbinom101cdot 1^7$.
Overall, that's
$$binom104cdot 4^7 -6cdotbinom103cdot 3^7 + 21cdotbinom102cdot 2^7 -56cdotbinom101cdot 1^7 = 1986400$$
valid spell lists. Plenty of variety to work with.
$endgroup$
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
add a comment |
$begingroup$
I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
Yes.
If the drafting was restricted to a random 4 of the 10 elements each game, how many possible combinations would there be?
First, choose which four elements are drafted, then choose a spell of each class in the allowable elements. That's $binom104cdot 4^7$.
But wait - we've overcounted. If we only used three of the elements in our final spell list, then there's no way of telling which other element was drafted but not used. There are seven possibilities, so those are counted seven times each, and we'll need to compensate. Subtract six times the number of ways as if we drafted three elements: $-6cdotbinom103cdot 3^7$.
Then, this repeats for two-element spell lists. We've counted them $binom82=28$ ways from four-element drafts and $-6cdot 8=-48$ ways from three-element drafts. To compensate, we add back $21$ times the number of ways as if we drafted two elements: $21cdotbinom102cdot 2^7$.
Finally, one-element spell lists. They're counted $binom93 = 84$ ways from four element drafts, $-6cdotbinom92=-216$ ways from three-element drafts, and $21cdot 9=189$ ways from two-element drafts. To compensate, we subtract $189-216+84-1=-56$ times the number of wats as if we drafted one element: $-56cdotbinom101cdot 1^7$.
Overall, that's
$$binom104cdot 4^7 -6cdotbinom103cdot 3^7 + 21cdotbinom102cdot 2^7 -56cdotbinom101cdot 1^7 = 1986400$$
valid spell lists. Plenty of variety to work with.
$endgroup$
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
add a comment |
$begingroup$
I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
Yes.
If the drafting was restricted to a random 4 of the 10 elements each game, how many possible combinations would there be?
First, choose which four elements are drafted, then choose a spell of each class in the allowable elements. That's $binom104cdot 4^7$.
But wait - we've overcounted. If we only used three of the elements in our final spell list, then there's no way of telling which other element was drafted but not used. There are seven possibilities, so those are counted seven times each, and we'll need to compensate. Subtract six times the number of ways as if we drafted three elements: $-6cdotbinom103cdot 3^7$.
Then, this repeats for two-element spell lists. We've counted them $binom82=28$ ways from four-element drafts and $-6cdot 8=-48$ ways from three-element drafts. To compensate, we add back $21$ times the number of ways as if we drafted two elements: $21cdotbinom102cdot 2^7$.
Finally, one-element spell lists. They're counted $binom93 = 84$ ways from four element drafts, $-6cdotbinom92=-216$ ways from three-element drafts, and $21cdot 9=189$ ways from two-element drafts. To compensate, we subtract $189-216+84-1=-56$ times the number of wats as if we drafted one element: $-56cdotbinom101cdot 1^7$.
Overall, that's
$$binom104cdot 4^7 -6cdotbinom103cdot 3^7 + 21cdotbinom102cdot 2^7 -56cdotbinom101cdot 1^7 = 1986400$$
valid spell lists. Plenty of variety to work with.
$endgroup$
I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?
Yes.
If the drafting was restricted to a random 4 of the 10 elements each game, how many possible combinations would there be?
First, choose which four elements are drafted, then choose a spell of each class in the allowable elements. That's $binom104cdot 4^7$.
But wait - we've overcounted. If we only used three of the elements in our final spell list, then there's no way of telling which other element was drafted but not used. There are seven possibilities, so those are counted seven times each, and we'll need to compensate. Subtract six times the number of ways as if we drafted three elements: $-6cdotbinom103cdot 3^7$.
Then, this repeats for two-element spell lists. We've counted them $binom82=28$ ways from four-element drafts and $-6cdot 8=-48$ ways from three-element drafts. To compensate, we add back $21$ times the number of ways as if we drafted two elements: $21cdotbinom102cdot 2^7$.
Finally, one-element spell lists. They're counted $binom93 = 84$ ways from four element drafts, $-6cdotbinom92=-216$ ways from three-element drafts, and $21cdot 9=189$ ways from two-element drafts. To compensate, we subtract $189-216+84-1=-56$ times the number of wats as if we drafted one element: $-56cdotbinom101cdot 1^7$.
Overall, that's
$$binom104cdot 4^7 -6cdotbinom103cdot 3^7 + 21cdotbinom102cdot 2^7 -56cdotbinom101cdot 1^7 = 1986400$$
valid spell lists. Plenty of variety to work with.
edited Mar 20 at 1:11
answered Mar 19 at 21:20
jmerryjmerry
16.9k11633
16.9k11633
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
add a comment |
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Ah! $binom104cdot 4^7$ was my original guess, but that was more than the unrestricted element count so I knew it was wrong. Also do you mean "if we drafted one element:" in your last paragraph?
$endgroup$
– Brett Pennings
Mar 19 at 21:34
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
$begingroup$
Yes, that's what I mean. Corrected.
$endgroup$
– jmerry
Mar 20 at 1:12
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3154583%2fhow-many-possible-spell-combinations-for-a-wizard-brawling-game%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown