We divide 401400 by 79
The aim is to understand the frequency of 79 in 401400.

Step 1:
If we divide 4 by 79, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 79

Moving on to step 2:
The number 79 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 79

Step 3:
401 divided by 79 is 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 6 after subtracting 395 from 401.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 79

Step 4:
If we divide 64 by 79, we get 0 and a remainder of 64.
Put 0 as the next digit of the answer. 
Result so far: 50.0
Deduct 0 from 64 and we're left with 64.
Include the next digit (0) from the dividend after 64, then repeat: 640 / 79

Advancing to step 5:
When dividing 640 by 79, we get 8 with a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 508.0
If we subtract 632 from 640, we get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 79

Moving on to step 6:
80 divided by 79 is 1 with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 5081.0
Subtract 79 from 80 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
10 divided by 79 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5081.0
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 8:
79 can be fit into 100 1 times, resulting in a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 5081.01
If we subtract 79 from 100, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 9:
If we divide 210 by 79, we get 2 and a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 5081.012
Subtract 158 from 210 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 10:
The number 79 fits into 520 6 times, leaving a remainder of 46.
Record the quotient 6 as the next digit in the result. 
Result so far: 5081.0126
If we subtract 474 from 520, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 11:
79 goes into 460 5 times with a remainder of 65.
Write down 5 as next digit of the result. 
Result so far: 5081.01265
The remainder is 65 after subtracting 395 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Moving on to step 12:
The number 79 fits into 650 8 times, leaving a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 5081.012658
The remainder is 18 after subtracting 632 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 13:
79 goes into 180 2 times with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 5081.0126582
Subtract 158 from 180 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 14:
When dividing 220 by 79, we get 2 with a remainder of 62.
Use 2 as the next digit of our solution. 
Result so far: 5081.01265822
Subtracting 158 from 220 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

The final result is 5081.01265822 with a remainder of 6.2e-08.