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

Moving on to step 1:
4 divided by 79 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 79

Moving on to step 2:
When dividing 40 by 79, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 79

Moving on to step 3:
When dividing 400 by 79, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 5.0
If we take 395 away from 400, we end up with 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 79

Step 4:
If we divide 52 by 79, we get 0 and a remainder of 52.
Record the quotient 0 as the next digit in the result. 
Result so far: 50.0
The remainder is 52 after subtracting 0 from 52.
Take the next digit (3) from the dividend and append it to 52, then repeat: 523 / 79

Advancing to step 5:
When dividing 523 by 79, we get 6 with a remainder of 49.
The number 6 becomes the next digit in our result. 
Result so far: 506.0
If we subtract 474 from 523, we get 49.
Include the next digit (5) from the dividend after 49, then repeat: 495 / 79

Moving on to step 6:
495 divided by 79 is 6 with a remainder of 21.
Put 6 as the next digit of the answer. 
Result so far: 5066.0
The remainder is 21 after subtracting 474 from 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 7:
79 can be fit into 210 2 times, resulting in a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 5066.2
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 8:
When dividing 520 by 79, we get 6 with a remainder of 46.
The next digit of our result is 6. 
Result so far: 5066.26
Subtracting 474 from 520 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 9:
79 goes into 460 5 times with a remainder of 65.
Write down 5 as next digit of the result. 
Result so far: 5066.265
If we take 395 away from 460, we end up with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 10:
If we divide 650 by 79, we get 8 and a remainder of 18.
Record the quotient 8 as the next digit in the result. 
Result so far: 5066.2658
Subtract 632 from 650 to get 18.
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 11:
The number 79 fits into 180 2 times, leaving a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 5066.26582
Subtracting 158 from 180 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 12:
The number 79 fits into 220 2 times, leaving a remainder of 62.
The number 2 becomes the next digit in our result. 
Result so far: 5066.265822
Deduct 158 from 220 and we're left 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 outcome is 5066.265822, with a leftover of 6.2e-06.