We look at the division of 54078257 by 198 
The aim is to understand the frequency of 198 in 54078257.

On to step 1:
If we divide 5 by 198, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 198

Advancing to step 2:
The number 198 fits into 54 0 times, leaving a remainder of 54.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Bring next digit (0) of the dividend behind the 54 and repeat the process: 540 / 198

Advancing to step 3:
If we divide 540 by 198, we get 2 and a remainder of 144.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 396 away from 540, we end up with 144.
Fetch the next digit (7) from the dividend, attach it to 144 and continue: 1447 / 198

Advancing to step 4:
198 goes into 1447 7 times with a remainder of 61.
Record the quotient 7 as the next digit in the result. 
Result so far: 27.0
Subtract 1386 from 1447 to get 61.
Append the next digit (8) from the dividend to 61 and continue with: 618 / 198

Advancing to step 5:
If we divide 618 by 198, we get 3 and a remainder of 24.
Write down 3 as next digit of the result. 
Result so far: 273.0
The remainder is 24 after subtracting 594 from 618.
Bring next digit (2) of the dividend behind the 24 and repeat the process: 242 / 198

On to step 6:
198 can be fit into 242 1 times, resulting in a remainder of 44.
Write down 1 as next digit of the result. 
Result so far: 2731.0
Subtracting 198 from 242 leaves us with 44.
Take the next digit (5) from the dividend and append it to 44, then repeat: 445 / 198

Moving on to step 7:
198 can be fit into 445 2 times, resulting in a remainder of 49.
Put 2 as the next digit of the answer. 
Result so far: 27312.0
If we subtract 396 from 445, we get 49.
Grab the next digit (7) from the dividend, add it to 49, then carry on: 497 / 198

Let's proceed to step 8:
497 divided by 198 is 2 with a remainder of 101.
Put 2 as the next digit of the answer. 
Result so far: 273122.0
The remainder is 101 after subtracting 396 from 497.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Step 9:
When dividing 1010 by 198, we get 5 with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 273122.5
If we subtract 990 from 1010, we 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.

Moving on to step 10:
200 divided by 198 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 273122.51
If we subtract 198 from 200, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 11:
If we divide 20 by 198, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 273122.51
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 12:
200 divided by 198 is 1 with a remainder of 2.
The next digit of our result is 1. 
Result so far: 273122.5101
Deduct 198 from 200 and we're left 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.

Going ahead to step 13:
The number 198 fits into 20 0 times, leaving a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 273122.5101
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.

Moving on to step 14:
If we divide 200 by 198, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 273122.510101
Subtract 198 from 200 to get 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 15:
198 can be fit into 20 0 times, resulting in a remainder of 20.
The next digit of our result is 0. 
Result so far: 273122.510101
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.

Step 16:
200 divided by 198 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 273122.51010101
Subtract 198 from 200 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 273122.51010101 and a remainder of 2e-09.