We divide 321747 by 8
Our goal is to divide 321747 by 8.

Moving on to step 1:
3 divided by 8 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 8

Advancing to step 2:
The number 8 fits into 32 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 0 after subtracting 32 from 32.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 8

Moving on to step 3:
The number 8 fits into 1 0 times, leaving a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 40.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 8

Moving on to step 4:
8 goes into 17 2 times with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 402.0
If we take 16 away from 17, we end up with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 8

Let's proceed to step 5:
8 goes into 14 1 times with a remainder of 6.
The number 1 becomes the next digit in our result. 
Result so far: 4021.0
If we take 8 away from 14, we end up with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 8

Going ahead to step 6:
8 can be fit into 67 8 times, resulting in a remainder of 3.
The next digit of our result is 8. 
Result so far: 40218.0
If we subtract 64 from 67, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
30 divided by 8 is 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 40218.3
The remainder is 6 after subtracting 24 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
8 goes into 60 7 times with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 40218.37
If we subtract 56 from 60, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
8 can be fit into 40 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 40218.375
Subtracting 40 from 40 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 8 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 40218.375
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 11:
8 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 40218.375
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 40218.375, with a leftover of 0.0.