###### Math

## POW Answer – Sequential Triad 24

Here is the answer to last week’s POW: (0! + 1 + 2)! = 24 (-1 + 2 + 3)! = 24 2 * 3 * 4 = 24 (3 – 4 + 5)! = 24 4! / (-5 + 6) = 24 (5 + 6 – 7)! = 24 Read more…

Here is the answer to last week’s POW: (0! + 1 + 2)! = 24 (-1 + 2 + 3)! = 24 2 * 3 * 4 = 24 (3 – 4 + 5)! = 24 4! / (-5 + 6) = 24 (5 + 6 – 7)! = 24 Read more…

Many people are familiar with the math game 24, but not many know about the sequential triad version. You must make each of the following sequences true by only inserting operators and without changing the order of the numbers: 0 1 2 = 24 1 2 3 = 24 2 Read more…

After writing the Vernam Cipher post, I started thinking about alternatives to using bit-wise XOR in order to translate numbers. I started thinking about XOR for base 3. Therefore I concentrated on what makes XOR so great. What makes XOR stand out from other operators is the fact that assuming Read more…

If you have ever taken an encryption class, I am sure that you have heard of the Vernam Cipher. For fun today I decided to write a quick one in JavaScript which takes your message and the random key: function vernam(msg, key) { var l = key.length; var fromCharCode = Read more…

Two very simple operations that you may have to deal with if writing a JavaScript that deals with trigonometry are Math.degrees() and Math.radians(). These function can be easily defined as follows: // Converts from degrees to radians. Math.radians = function(degrees) { return degrees * Math.PI / 180; }; // Converts Read more…

One of the things that bothers me about the native rounding functions is the fact that there is no way to specify precision. If this is something that you need to do you can use the following code to define Math.$round(...), Math.$ceil(...), and Math.$floor(...): (function(arr,i,name) { while(name = arr[i++]) { Read more…

This post gives the answer to last week’s Problem of the Week. First of all, I have to admit that this problem actually came from the Quicker Maths blog. This blog actually pulled the problem from IBM’s Ponder this section. First of all, in order to write the equation algebraicly, Read more…

Did you know that 882 + 332 = 8833? How about the fact that 9902 + 1002 = 990100? That is pretty interesting, huh? My question for you all is, are there any two 4-digit numbers with this same relationship? In other words, are there two 4-digit numbers which when Read more…

If you remember the problem, the key is the fact that the problem never said to choose one of the answers from the multiple choice list. Also, the question never said that that question was the one that applied to the multiple choice questions. Having those two facts in mind, Read more…

This Problem of the Week will make you question whether or not multiple choice questions really are easier. Here is the question: Assuming the answer can be selected from the following list, if you were to choose one of the following at random, what is the chance that you would Read more…