Learn
Practice
Newsletter
Resources
Mobile
New
F
Toggle theme
0
F
0
Toggle menu
Animations
← Back to All Animations
Spiral Number Pattern
Bookmark
Input
4×4
5×5
3×3
6×6
Custom
n
=
4
MATRIX
MATRIX
MATRIX
num
2
/ 16
1
top
bottom
left
right
MATRIX
num
5
/ 16
1
2
3
4
top
bottom
left
right
MATRIX
num
7
/ 16
1
2
3
4
5
6
top
bottom
left
right
MATRIX
num
9
/ 16
1
2
3
4
5
6
8
7
top
bottom
left
right
MATRIX
num
12
/ 16
1
2
3
4
5
11
6
10
9
8
7
top
bottom
left
right
MATRIX
num
13
/ 16
1
2
3
4
12
5
11
6
10
9
8
7
top
bottom
left
right
MATRIX
num
15
/ 16
1
2
3
4
12
13
14
5
11
6
10
9
8
7
top
bottom
left
right
MATRIX
num
17
/ 16
1
2
3
4
12
13
14
5
11
16
15
6
10
9
8
7
top
bottom
left
right
MATRIX
1
2
3
4
12
13
14
5
11
16
15
6
10
9
8
7
algo
master
.
io
Step:
Fill a 4x4 grid with numbers 1 to 16 in a clockwise spiral
0 / 28
Input
4×4
5×5
3×3
6×6
Custom
n
=
4
0 / 28
algo
master
.
io
Step:
Fill a 4x4 grid with numbers 1 to 16 in a clockwise spiral