We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4438cf4 commit de23d74Copy full SHA for de23d74
solutions/project-euler/028/problem.md
@@ -0,0 +1,19 @@
1
+https://projecteuler.net/problem=28
2
+
3
+# Number Spiral Diagonals
4
5
+Starting with the number $1$ and moving to the right in a clockwise direction a
6
+$5$ by $5$ spiral is formed as follows:
7
8
+```
9
+21 22 23 24 25
10
+20 7 8 9 10
11
+19 6 1 2 11
12
+18 5 4 3 12
13
+17 16 15 14 13
14
15
16
+It can be verified that the sum of the numbers on the diagonals is $101$.
17
18
+What is the sum of the numbers on the diagonals in a $1001$ by $1001$ spiral
19
+formed in the same way?
0 commit comments