Tag Archives: Mathematics

8 Queens Problem

Today, we are going to look at the classic problem of placing Queens on a chessboard, such that no Queen is attacking any other Queens. It’s immediately obvious that we cannot place more than 8 Queens and meet these conditions, … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

10 Digit Number Puzzle

In my previous post I shared some code to generate permutations. We can use this code to solve a problem I’ve posted about previously. Find the only 10 digit number which uses each of the digits 0 – 9 and … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Generating Permutations in Javascript

I’ve recently been working on a number puzzle which involved generating permutations. It involves finding permutations of a ten digit number. I decided to code this in Javascript. I found the following on Wikipedia: The following algorithm generates the next … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Circle in a Right Triangle

I was recently asked to prove that a circle inscribed in a right triangle with sides 3, 4 and 5 had a radius of 1. Mathematics never ceases to amaze me! How could a standard 3, 4, 5 triangle be … Continue reading

Tagged | Leave a comment

Calculating Permutations

I recently came across this problem:

Tagged , | 2 Comments