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?










0












$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:



  1. I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?


  2. 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.











share|cite|improve this question











$endgroup$
















    0












    $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:



    1. I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?


    2. 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.











    share|cite|improve this question











    $endgroup$














      0












      0








      0





      $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:



      1. I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?


      2. 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.











      share|cite|improve this question











      $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:



      1. I believe there are $10^7$ combinations if there are no element restrictions. Is this correct?


      2. 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






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Mar 19 at 21:25









      MarianD

      1,8961617




      1,8961617










      asked Mar 19 at 20:43









      Brett PenningsBrett Pennings

      1035




      1035




















          1 Answer
          1






          active

          oldest

          votes


















          2












          $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.






          share|cite|improve this answer











          $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











          Your Answer





          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
          );



          );













          draft saved

          draft discarded


















          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









          2












          $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.






          share|cite|improve this answer











          $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















          2












          $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.






          share|cite|improve this answer











          $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













          2












          2








          2





          $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.






          share|cite|improve this answer











          $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.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          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
















          • $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

















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

          Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

          Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers