Main Page Go to Short Stories Go back to Articles Go to Comics Go to Continued Series Go to Editorial Go to New Series

Show All | Week 1 | Week 2 | Week 3 | Week 4 | Week 5 | Week 6 | Week 7 | Week 8 | Week 9 | Week 10 | Week 11 | Week 12 | Week 13 | Week 14 | Week 15 | Week 16 | Week 17 | Week 18 | Week 19 | Week 20 | Week 21 | Week 22 | Week 23 | Week 24 | Week 25 | Week 26 | Week 27 | Week 28 | Week 29 | Week 30 | Week 31 | Week 32 | Week 33 | Week 34 | Week 35 | Week 36 | Week 37 | Week 38 | Week 39 | Week 40 | Week 41 | Week 42 | Week 43 | Week 44 | Week 45 | Week 46 | Week 47 | Week 48 | Week 49 | Week 50 | Week 51 | Week 52 | Week 53 | Week 54 | Week 55 | Week 56 | Week 57 | Week 58 | Week 59 | Week 60 | Week 61 | Week 62 | Week 63 | Week 64 | Week 65 | Week 66 | Week 67 | Week 68 | Week 69 | Week 70 | Week 71 | Week 72 | Week 73 | Week 74 | Week 75 | Week 76 | Week 77 | Week 78 | Week 79 | Week 80 | Week 81 | Week 82 | Week 83 | Week 84 | Week 85 | Week 86 | Week 87 | Week 88 | Week 89 | Week 90 | Week 91 | Week 92 | Week 93 | Week 94 | Week 95 | Week 96 | Week 97 | Week 98 | Week 99 | Week 100 | Week 101 | Week 102 | Week 103 | Week 104 | Week 105 | Week 106 | Week 107 | Week 108 | Week 109 | Week 110 | Week 111 | Week 112 | Week 113 | Week 114 | Week 115 | Week 116 | Week 117 | Week 118 | Week 119 | Week 120 | Week 121 | Week 122 | Week 123 | Week 124 | Week 125 | Week 126 | Week 127 | Week 128 | Week 129 | Week 130 | Week 131 | Week 132 | Week 133 | Week 134 | Week 135 | Week 136 | Week 137 | Week 138 | Week 139 | Week 140 | Week 141 | Week 142 | Week 143 | Week 144 | Week 145 | Week 146 | Week 147 | Week 148 | Week 149

Neopia's Fill in the Blank News Source | 24th day of Eating, Yr 26
The Neopian Times Week 137 > Articles > Math of Neopia

Math of Neopia

by nornlove

NEOPIA CENTRAL - Have you ever seen one of those posters that says something like, "Math is everywhere"? Well, it's true! Today I'm going to help you figure out the math behind some parts of Neopia, trying to be as helpful and un-confusing as possible. If you’re already pretty good at math, you might want to skip forward to the * sign, that one’s more of a stumper unless you read through this.

The first thing you're going to need to do is pull out a fairly good calculator (one with an n! or x! button) OR open up the calculator that comes with Windows (sorry Mac people!). Make sure it's in Scientific mode. Try not to panic at the sight of all those weird buttons, we're only going to use one of them, which happens to be the n! button. This button is called the factorial button. I'm sure that probably doesn't mean anything to you right now, but it will!

To explain this, I'm going to use a little example here. Let's say that the Nimmo bookkeeper has 8 books to sell. How many different ways can he place them in his shop? I'm going to draw 8 lines to represent the 8 different places he can put a book.

__ __ __ __ __ __ __ __

Now, pretend you're the shop keeper. How many different books could you choose from to put in the first space? 8! If you put one of the books in the first space, that means you have 7 to choose from in the second space, 6 in the third, and so on. So, if we multiply all those choices together, we'll get the number of different ways that he could arrange the books in his shop. 8x7x6x5x4x3x2x1=40320

*Whew*, that was a lot of work, wasn't it? Well, I'll show you an easier way to do that. Press the number 8 on your calculator, then press the n! button. You should get the exact same number. The n! button just multiplies whatever number you put in your calculator by all the whole numbers that come before it! Another way to write 8x7x6x5x4x3x2x1 is just as 8!. I hope you all got that, because I'm going to move on to some stuff that's a bit trickier (but fascinating for those of you that like to tempt the odds). If you think the next part looks a bit scarier, just skip a few paragraphs nearer to the end, I'll have some easier stuff there.

Ever wondered what your chances are of winning The Neopian Lottery? Using the above handy dandy little key and a formula, I’ll show you how to calculate those chances. There are 30 different numbers to choose from in The Neopian Lottery, and each time you choose 6 of them. You could do this the hard way and write out every single possible combination, or, we can do this the math way. How did I know you’d choose the math way? Hehe. I’m going to show you a formula that might look a little complicated, but don’t worry, I’ll explain as we go along. The formula is:

C= n!/(n-r)!x(r)!

C is the number of combinations that are possible when you choose your numbers. N is the number of items you have to choose from. R is how many items (in this case, lottery numbers) that you’re choosing. That x means multiply, in case you’ve been taking Algebra lately and were confused by it. Oh yes, and in case you’re not used to seeing fractions this way, I used the / to mean divide. By the way, make sure to do the stuff in brackets first, if you haven’t learned so yet.

So-ooo-ooo, if we plug in the information above for The Neopian Lottery, we get:

C= 30!/(30-6)!x 6!

Which we can further make into:

C=30!/ 24!x6!

Hopefully you’ve gotten a number that’s somewhere around 593775. That means that you have a 1 in 593775 chance of winning the big jackpot every time that you play The Neopian Lottery. By the way, you could also use the above formula, if you wanted to, to calculate your odds for Grarrl Keno. Oh yes, I also hope you didn’t decided to try and list every possible combination of number choices, teehee.

We can also use that formula for another game, Neopoker! For example, let’s calculate the number of possible hands in Neopoker. Remember the formula, C= n!/(n-r)!x(r)!

C= 52! (the number of cards in a deck)/47! (the number of cards in a deck minus the 5 in a hand) x 5! (the number of cards in a hand)

For an answer, we get a whopping 2598960 different hands! Now, knowing that there are only 4 possible ways of getting a royal flush (one way for each suit), that means you only have a 4 in 2598960 chance of getting that elusive royal flush. We can simplify that to a 1 in 649740 chance by dividing both the four in the previous odds and 2598960 by 4.

* Here’s where things get fun, or, if you really don’t like math, nasty. How many different ways are there of getting a full house in Neopoker? Well, first of all, we need to pick our three of a kind in the full house and put it in an equation. To get 3 of a kind, we’re going to choose 3 cards of the same number from 4 possible cards of that number. Using our handy dandy equation, which I am finally NOT going to repeat for you, that gives us 4 different ways to pick 3 of a kind from 4 cards of the same number. Now, once we have those 3, we need to pick out our pair. Same deal with the pair, except we have 6 different ways of picking the pair from 4 cards of the same number. So, that means so far we have:

4 choices x 6 choices

But wait, we’re not done yet! Since there are 13 different card numbers (and letters) in a deck, that means we have 13 x 4 ways of choosing the 3 of a kind part of the full house. This is the twister, we only have 12 different card numbers or letters to choose the pair from. Why? Because if we chose again from all 13, that formula would include pairs made from the 3 of a kind number, which means we’d be cheating at Neopoker and would end up with a 5 of a kind hand in there somewhere. If we put this all together, this gives us:

4x13x6x12 , or 3744 different full house hands. Also, you’d have a 3744 in 2598960 chance of getting a full house, which is somewhat better than your chance of getting a royal flush.

I hope you’re still with me here, because now I’m going to go back to the easier stuff. First of all, I’m going to explain why it stinks to get an 8 in Tyranu Evavu. 8 is right in the middle of the deck. There are 6 cards that are lower than an 8 in the deck, and 6 that are higher. 6/12 of the cards are above 8, 6/12 are below. If we reduce those fractions, ½ the cards are above, ½ are below. Those are bad odds compared to all of the other cards. No matter what you choose, you only have a ½, or 50% chance of being right. It gets worse! Say you had two 8’s in a row. Each time you got an 8, you’d have a ½ chance of guessing right. Your chance of getting it right stays the same, but your chances of guessing the right answer again if you get more than one 8 during the game decrease because it’s multiplied with the chance of guessing the right answer that you had the last time.

½ x ½ = ¼ chance of guessing right when you’ve had 2 8’s

½ x ½ x ½ = 1/8 chance of guessing right when you’ve had 3 8’s

½ x ½ x ½ x ½ = 1/16 chance of guessing right when you’ve had 4 8’s.

Combined with all the other odds of guessing right, this explains why it’s so hard to get past 6 or 7 in Tyranu Evavu.

Before I go, I’d also like to give away a little Bilge Dice hint. Let’s say it’s your second last roll, and you have the option of tying with the leader by keeping your 4, or going for the gold and rolling again. What are your chances of getting a 5 or a 6? Every time you roll that die (did you know that a single dice is called a die?), you have a 1/6 chance of getting a 5, and a 1/6 chance of getting a 6. Add those together, and you end up with a 2/6 chance of getting either. You also have a 1/6 chance of getting a 4 again. If you add that to your 2/6, that means you have a 3/6, or ½ chance of getting either the same number again or higher. Should you roll again? Well, that all depends on whether or not you think a ½ chance of winning is good enough or not, and I’m afraid I can’t help you with that, sorry.

That wasn’t too bad, was it? Hopefully you all understand a bit better the odds behind many of the chance games out there, and maybe you’ve learned some math in the process, too.


Search :
Other Stories

NeoLodge Magic: Saving Your Neopoints and Sanity!
Yes, towering above most other buildings is the amazing Neolodge, just bursting with untapped magic. I'm sad to report, not many Neopians take advantage of this little haven.

by tsukubi_du


Shopkeeping Made Easy
Most people in Neopia have their own shops, perhaps for more Neopoints, or to attract people to their guild, or simply because shop are cool. But are their shops really successful and cool?

by kairos12


Storytelling - Why Cant I Get in?
Now there are a few things that each and every accepted entree have in them. Many people don’t know these things and they’re crucial for getting accepted...

by _joleveeflareporeon


Tales of the Unknown - Tawnia the Island Uni
There are quite a few characters in Neopia that are really cool, but no one even knows who they are. One of these pets is Tawnia the Island Uni.

by purple_princess62


Junk - Useful or Just Junk?
Me and my pets went out, to research the so-called ‘Junk’ items in Neopia.

by articuno_neo


Neopets | Main | Articles | Editorial
Short Stories | Comics | New Series | Continued Series | Search