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

Moving on to step 1:
The number 97 fits into 3 0 times, leaving 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.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 97

Step 2:
97 can be fit into 39 0 times, resulting in a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Grab the next digit (3) from the dividend, add it to 39, then carry on: 393 / 97

Let's proceed to step 3:
The number 97 fits into 393 4 times, leaving a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 388 from 393 to get 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 97

Let's proceed to step 4:
51 divided by 97 is 0 with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 40.0
Deduct 0 from 51 and we're left with 51.
Include the next digit (1) from the dividend after 51, then repeat: 511 / 97

Let's proceed to step 5:
The number 97 fits into 511 5 times, leaving a remainder of 26.
Record the quotient 5 as the next digit in the result. 
Result so far: 405.0
The remainder is 26 after subtracting 485 from 511.
Include the next digit (7) from the dividend after 26, then repeat: 267 / 97

Step 6:
When dividing 267 by 97, we get 2 with a remainder of 73.
The number 2 becomes the next digit in our result. 
Result so far: 4052.0
The remainder is 73 after subtracting 194 from 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Moving on to step 7:
97 goes into 730 7 times with a remainder of 51.
The next digit of our result is 7. 
Result so far: 4052.7
Subtract 679 from 730 to get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

Going ahead to step 8:
97 can be fit into 510 5 times, resulting in a remainder of 25.
The next digit of our result is 5. 
Result so far: 4052.75
If we subtract 485 from 510, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 9:
97 can be fit into 250 2 times, resulting in a remainder of 56.
Record the quotient 2 as the next digit in the result. 
Result so far: 4052.752
If we take 194 away from 250, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 10:
If we divide 560 by 97, we get 5 and a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 4052.7525
The remainder is 75 after subtracting 485 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Let's proceed to step 11:
97 can be fit into 750 7 times, resulting in a remainder of 71.
Put 7 as the next digit of the answer. 
Result so far: 4052.75257
The remainder is 71 after subtracting 679 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

On to step 12:
The number 97 fits into 710 7 times, leaving a remainder of 31.
Put 7 as the next digit of the answer. 
Result so far: 4052.752577
If we subtract 679 from 710, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Our division results in 4052.752577 with a remaining 3.1e-06.