Some expressions won't work as JavaScript can't recognise them; for example, 2^3 will not give 2 to the power 3. To calculate this, use Math.pow(2,3) - remember the capital M! - the value of your expression is displayed in box 2.

Powers of 2 come in handy for finding perfect numbers!!

Close this popup.