We're dividing 79748820 by 398 
The aim is to understand the frequency of 398 in 79748820.

On to step 1:
When dividing 7 by 398, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 398

Going ahead to step 2:
The number 398 fits into 79 0 times, leaving a remainder of 79.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 79 after subtracting 0 from 79.
Include the next digit (7) from the dividend after 79, then repeat: 797 / 398

Advancing to step 3:
If we divide 797 by 398, we get 2 and a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 796 from 797 leaves us with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 398

Going ahead to step 4:
The number 398 fits into 14 0 times, leaving a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 20.0
If we subtract 0 from 14, we get 14.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 398

Let's proceed to step 5:
The number 398 fits into 148 0 times, leaving a remainder of 148.
Record the quotient 0 as the next digit in the result. 
Result so far: 200.0
If we take 0 away from 148, we end up with 148.
Include the next digit (8) from the dividend after 148, then repeat: 1488 / 398

Moving on to step 6:
When dividing 1488 by 398, we get 3 with a remainder of 294.
The next digit of our result is 3. 
Result so far: 2003.0
Deduct 1194 from 1488 and we're left with 294.
Take the next digit (2) from the dividend and append it to 294, then repeat: 2942 / 398

On to step 7:
The number 398 fits into 2942 7 times, leaving a remainder of 156.
Record the quotient 7 as the next digit in the result. 
Result so far: 20037.0
Subtract 2786 from 2942 to get 156.
Take the next digit (0) from the dividend and append it to 156, then repeat: 1560 / 398

Advancing to step 8:
If we divide 1560 by 398, we get 3 and a remainder of 366.
The number 3 becomes the next digit in our result. 
Result so far: 200373.0
Deduct 1194 from 1560 and we're left with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

Step 9:
398 can be fit into 3660 9 times, resulting in a remainder of 78.
Write down 9 as next digit of the result. 
Result so far: 200373.9
The remainder is 78 after subtracting 3582 from 3660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 10:
If we divide 780 by 398, we get 1 and a remainder of 382.
Write down 1 as next digit of the result. 
Result so far: 200373.91
Subtract 398 from 780 to get 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

On to step 11:
The number 398 fits into 3820 9 times, leaving a remainder of 238.
The number 9 becomes the next digit in our result. 
Result so far: 200373.919
Subtract 3582 from 3820 to get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Let's proceed to step 12:
When dividing 2380 by 398, we get 5 with a remainder of 390.
Use 5 as the next digit of our solution. 
Result so far: 200373.9195
Deduct 1990 from 2380 and we're left with 390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3900, and continue the process.

On to step 13:
398 goes into 3900 9 times with a remainder of 318.
Put 9 as the next digit of the answer. 
Result so far: 200373.91959
Subtract 3582 from 3900 to get 318.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3180, and continue the process.

Going ahead to step 14:
398 can be fit into 3180 7 times, resulting in a remainder of 394.
Use 7 as the next digit of our solution. 
Result so far: 200373.919597
If we subtract 2786 from 3180, we get 394.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3940, and continue the process.

Step 15:
When dividing 3940 by 398, we get 9 with a remainder of 358.
The number 9 becomes the next digit in our result. 
Result so far: 200373.9195979
Subtract 3582 from 3940 to get 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Moving on to step 16:
When dividing 3580 by 398, we get 8 with a remainder of 396.
Record the quotient 8 as the next digit in the result. 
Result so far: 200373.91959798
If we take 3184 away from 3580, we end up with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

After the division, we end up with 200373.91959798 and a remainder of 3.96e-07.