Let's divide 311394 by 79
The aim is to understand the frequency of 79 in 311394.

Step 1:
79 can be fit into 3 0 times, resulting in 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.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 79

On to step 2:
79 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 79

Let's proceed to step 3:
311 divided by 79 is 3 with a remainder of 74.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 237 from 311 and we're left with 74.
Fetch the next digit (3) from the dividend, attach it to 74 and continue: 743 / 79

Step 4:
When dividing 743 by 79, we get 9 with a remainder of 32.
The next digit of our result is 9. 
Result so far: 39.0
Subtract 711 from 743 to get 32.
Include the next digit (9) from the dividend after 32, then repeat: 329 / 79

On to step 5:
If we divide 329 by 79, we get 4 and a remainder of 13.
The number 4 becomes the next digit in our result. 
Result so far: 394.0
If we subtract 316 from 329, we get 13.
Append the next digit (4) from the dividend to 13 and continue with: 134 / 79

Advancing to step 6:
When dividing 134 by 79, we get 1 with a remainder of 55.
Put 1 as the next digit of the answer. 
Result so far: 3941.0
Deduct 79 from 134 and we're left with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Moving on to step 7:
79 goes into 550 6 times with a remainder of 76.
Put 6 as the next digit of the answer. 
Result so far: 3941.6
If we take 474 away from 550, we end up with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 8:
79 goes into 760 9 times with a remainder of 49.
Put 9 as the next digit of the answer. 
Result so far: 3941.69
Subtract 711 from 760 to get 49.
Since there are no more digits in the dividend, we add a zero to the remainder making it 490, and continue the process.

Going ahead to step 9:
If we divide 490 by 79, we get 6 and a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 3941.696
Subtracting 474 from 490 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
When dividing 160 by 79, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 3941.6962
If we take 158 away from 160, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

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

On to step 12:
79 goes into 200 2 times with a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 3941.696202
If we take 158 away from 200, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 13:
79 goes into 420 5 times with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 3941.6962025
Subtract 395 from 420 to 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.

Advancing to step 14:
The number 79 fits into 250 3 times, leaving a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 3941.69620253
Subtracting 237 from 250 leaves us 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.

The final result is 3941.69620253 with a remainder of 1.3e-08.