We look at the division of 397223 by 76 
We want to figure out the number of times 397223 can be divided by 76.

Moving on to step 1:
The number 76 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 76

On to step 2:
The number 76 fits into 39 0 times, leaving a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 76

Moving on to step 3:
397 divided by 76 is 5 with a remainder of 17.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 380 away from 397, we end up with 17.
Grab the next digit (2) from the dividend, add it to 17, then carry on: 172 / 76

Going ahead to step 4:
When dividing 172 by 76, we get 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 52.0
The remainder is 20 after subtracting 152 from 172.
Grab the next digit (2) from the dividend, add it to 20, then carry on: 202 / 76

Let's proceed to step 5:
If we divide 202 by 76, we get 2 and a remainder of 50.
Record the quotient 2 as the next digit in the result. 
Result so far: 522.0
Subtract 152 from 202 to get 50.
Fetch the next digit (3) from the dividend, attach it to 50 and continue: 503 / 76

Let's proceed to step 6:
If we divide 503 by 76, we get 6 and a remainder of 47.
The next digit of our result is 6. 
Result so far: 5226.0
The remainder is 47 after subtracting 456 from 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Advancing to step 7:
If we divide 470 by 76, we get 6 and a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 5226.6
If we take 456 away from 470, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
The number 76 fits into 140 1 times, leaving a remainder of 64.
Write down 1 as next digit of the result. 
Result so far: 5226.61
Subtract 76 from 140 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 9:
If we divide 640 by 76, we get 8 and a remainder of 32.
Put 8 as the next digit of the answer. 
Result so far: 5226.618
Subtracting 608 from 640 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 10:
76 goes into 320 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 5226.6184
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 11:
76 can be fit into 160 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 5226.61842
If we subtract 152 from 160, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 12:
The number 76 fits into 80 1 times, leaving a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 5226.618421
The remainder is 4 after subtracting 76 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 13:
76 can be fit into 40 0 times, resulting in a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 5226.618421
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 14:
The number 76 fits into 400 5 times, leaving a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 5226.61842105
If we subtract 380 from 400, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 5226.61842105, with a leftover of 2e-08.