397797 ÷ 76 
We want to figure out the number of times 397797 can be divided by 76.

Step 1:
If we divide 3 by 76, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 76

Advancing to step 2:
76 goes into 39 0 times with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 76

Step 3:
76 can be fit into 397 5 times, resulting in a remainder of 17.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 380 from 397 and we're left with 17.
Bring next digit (7) of the dividend behind the 17 and repeat the process: 177 / 76

On to step 4:
If we divide 177 by 76, we get 2 and a remainder of 25.
The next digit of our result is 2. 
Result so far: 52.0
Subtracting 152 from 177 leaves us with 25.
Append the next digit (9) from the dividend to 25 and continue with: 259 / 76

Advancing to step 5:
76 can be fit into 259 3 times, resulting in a remainder of 31.
Put 3 as the next digit of the answer. 
Result so far: 523.0
Deduct 228 from 259 and we're left with 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 76

Advancing to step 6:
The number 76 fits into 317 4 times, leaving a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 5234.0
Deduct 304 from 317 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
76 goes into 130 1 times with a remainder of 54.
The number 1 becomes the next digit in our result. 
Result so far: 5234.1
Deduct 76 from 130 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 8:
540 divided by 76 is 7 with a remainder of 8.
The number 7 becomes the next digit in our result. 
Result so far: 5234.17
If we subtract 532 from 540, 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.

Step 9:
80 divided by 76 is 1 with a remainder of 4.
The next digit of our result is 1. 
Result so far: 5234.171
Subtract 76 from 80 to 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.

On to step 10:
When dividing 40 by 76, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 5234.171
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 11:
When dividing 400 by 76, we get 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 5234.17105
Subtract 380 from 400 to 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.

Advancing to step 12:
If we divide 200 by 76, we get 2 and a remainder of 48.
Record the quotient 2 as the next digit in the result. 
Result so far: 5234.171052
Subtract 152 from 200 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 13:
If we divide 480 by 76, we get 6 and a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 5234.1710526
If we take 456 away from 480, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 14:
When dividing 240 by 76, we get 3 with a remainder of 12.
Put 3 as the next digit of the answer. 
Result so far: 5234.17105263
Deduct 228 from 240 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final outcome is 5234.17105263, with a leftover of 1.2e-08.