## JavaScript – Fibonacci Generator Function & Alternative

When looking for examples of generator function definitions, one of the foremost that you will find is one for generating the fibonacci sequence. One of the great things about the upcoming version of JavaScript is the fact that it will allow generator functions to be defined. The following is the Read more…

## Limitations of Bitwise Operators In JavaScript

One of the things that I have noticed about bitwise operations in JavaScript is that it can be convenient for smaller values, but doesn’t always work for larger values. The reason this is the case is because bitwise operators will only work fully for operands which can be fully expressed Read more…

## POW Answer – Quick Escape

Click here to see the original POW. The following is how you could get everyone across in 17 minutes: Person A (1 minute) and person B (2 minutes) go across to the target side with the flashlight in 2 minutes. Person B (2 minute) comes back across the bridge with Read more…

## POW – Quick Escape

This is the first of a new series of posts called the “Problem of the Week” (POW). As is evidenced by the title, these problems will be posted weekly. Every Sunday, I will post the answer to the previous week’s POW. Problem You are a member on a team of Read more…

## Divisibility Rules for 11 and 12

On Wednesday I explained how to determine if a number is divisible by 3, 6, and/or 9. I also posted a comment with a link to rules for 2, 3, 4, 5, 6, 7, 8, 9, and 10. Therefore, I think it is time for 11 and 12. Divisibility Rule Read more…

## Divisibility By Three, Six & Nine

When people say that being able to do simple math is what counts the most, they may not be far off. Did you know that as long as you can add, you can look at any number and tell whether or not the number is evenly divisible by three and/or Read more…

## JavaScript – Cube Root & Beyond

Learn how to take the cube root, 4th root, 5th root, etc. of numbers in JavaScript.

## Math In the Address Bar

Did you know that you can do math problems in the address bar of your browser? Regardless of what browser your using, you can use its address bar to find the answer to an arithmetic problem. For instance, let’s say that you are using Internet Explorer and all of a Read more…

## Power Set

As I was beefing up my past implementation of cartesianProductOf(), I decided to look into set theory a little bit more. After looking through some Wikipedia pages, I found another process that may be of interest to JavaScript programmers that have to deal with sets: a JavaScript implementation of finding Read more…