People here seem to have forgotten to discuss /prog/ramming, so let me breathe some fresh air in this place. Let's have a good ol' /prague/ challenge, just like back in the days. Let's start with something simple.
The Challenge: The "Spiral Prime" Matrix
Create a function that generates an N x N spiral matrix populated exclusively with the first N2 prime numbers in ascending order.
Example for N = 3
The first 9 primes are: 2, 3, 5, 7, 11, 13, 17, 19, 23.
Your output should look like this:
[ 2, 3, 5]
[23, 11, 13]
[19, 17, 7]
Use any reasonable I/O formats that would be unsurprising for the language that you have chosen.
The deadline is the UTC noon of the first of April.
Shortest program wins. Good luck!