###### Math

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…

## POW – Sequential Triad 24

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…

## JavaScript – XOR In Any Base

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…

## JavaScript – Simple Vernam Cipher

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: To you use this function you must supply both a message Read more…

## JavaScript – Degree & Radian Conversion

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: The name of these functions indicates the end result. Using the above definitions, you could run code such as Read more…

## JavaScript – Rounding with Precision

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(...): This code Makes the following functions Read more…

###### Blog

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…

## POW – Appending = Adding Squares

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…

## POW Answer – Multiple Choice Question?

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…

## POW – Multiple Choice Question?

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…