Let's divide 39701 by 8
We want to divide 39701 by 8.

Step 1:
3 divided by 8 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 8

Step 2:
39 divided by 8 is 4 with a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 4.0
If we subtract 32 from 39, we get 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 8

Advancing to step 3:
77 divided by 8 is 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 49.0
If we subtract 72 from 77, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 8

Advancing to step 4:
8 can be fit into 50 6 times, resulting in a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 496.0
The remainder is 2 after subtracting 48 from 50.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 8

Step 5:
The number 8 fits into 21 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 4962.0
The remainder is 5 after subtracting 16 from 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 6:
The number 8 fits into 50 6 times, leaving a remainder of 2.
The next digit of our result is 6. 
Result so far: 4962.6
Subtract 48 from 50 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
8 goes into 20 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 4962.62
The remainder is 4 after subtracting 16 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
40 divided by 8 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 4962.625
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.

Let's proceed to step 9:
8 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4962.625
If we take 0 away from 0, we end up 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.

Going ahead to step 10:
8 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4962.625
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 quotient of the division is 4962.625, and the remainder is 0.0.