We look at the division of 978031 by 45 
We're looking to find how many times 45 goes into 978031.

Advancing to step 1:
9 divided by 45 is 0 with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (7) from the dividend and append it to 9, then repeat: 97 / 45

Step 2:
If we divide 97 by 45, we get 2 and a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 7 after subtracting 90 from 97.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 45

Moving on to step 3:
When dividing 78 by 45, we get 1 with a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtract 45 from 78 to get 33.
Bring next digit (0) of the dividend behind the 33 and repeat the process: 330 / 45

Going ahead to step 4:
If we divide 330 by 45, we get 7 and a remainder of 15.
Use 7 as the next digit of our solution. 
Result so far: 217.0
Deduct 315 from 330 and we're left with 15.
Bring next digit (3) of the dividend behind the 15 and repeat the process: 153 / 45

Advancing to step 5:
If we divide 153 by 45, we get 3 and a remainder of 18.
The next digit of our result is 3. 
Result so far: 2173.0
If we take 135 away from 153, we end up with 18.
Fetch the next digit (1) from the dividend, attach it to 18 and continue: 181 / 45

Moving on to step 6:
The number 45 fits into 181 4 times, leaving a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 21734.0
Subtracting 180 from 181 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
If we divide 10 by 45, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 21734.0
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
When dividing 100 by 45, we get 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 21734.02
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 9:
If we divide 100 by 45, we get 2 and a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 21734.022
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 21734.022 and a remainder of 0.001.