-
Categories
- Books (1)
- Film (4)
- Games (6)
- Mathematics (21)
- Programming (24)
- Television (1)
- Uncategorized (16)
-
Archive
- October 2026 (2)
- September 2026 (6)
- August 2026 (6)
- November 2012 (1)
- July 2011 (2)
- August 2010 (14)
- July 2010 (9)
Category Archives: Mathematics
Bank Cards
This is an interesting number puzzle:
Connect Four – a MiniMax Algorithm
Connect 4 is a game in which the 2 players take turns dropping coloured pieces into a grid consisting of 7 columns and 6 rows. The pieces fall straight down, occupying the lowest available space within the column. The objective … Continue reading
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
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
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