00:01
Okay, so for part a here, we're using triangular numbers, which are given to us as k times k plus 1 over 2.
00:17
Right, so what that means is t1 is equal to 1, triangular number 2 is equal to 3, the 3rd number is equal to 6, and the fourth one is equal to 10.
00:46
So since t2 is equal to 3 is less than 5, which is the number of disks that we are working with, which is less than or equal to t3 equals 6, then we are going to choose, so we choose k is equal to 3.
01:29
Okay, so for notation, i'm going to consider, let's say, pegs, a and, b, this is moving disk, say i from peg a to peg b.
02:14
Just to simplify how much i'm writing here.
02:17
So the first move that we're going to do involves moving the n minus k, which is equal to 5 minus 3.
02:40
That's going to be the second smallest disk from the first to the second peg.
02:46
And so to do that, we'll start by moving our smallest disk to peg three, because we want our second smallest disk at peg two, so we skip that one.
03:01
And then we'll move our second smallest disk to the second peg where we want it.
03:08
And then we'll move our smallest disk on top of that.
03:19
Okay, and so the next, the next thing we want to do is move the k equals three largest disks...