We look at the division of 501081 by 98 
The aim is to understand the frequency of 98 in 501081.

On to step 1:
If we divide 5 by 98, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 98

On to step 2:
98 can be fit into 50 0 times, resulting in a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Append the next digit (1) from the dividend to 50 and continue with: 501 / 98

Going ahead to step 3:
98 goes into 501 5 times with a remainder of 11.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 490 away from 501, we end up with 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 98

Step 4:
98 can be fit into 110 1 times, resulting in a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 51.0
Deduct 98 from 110 and we're left with 12.
Take the next digit (8) from the dividend and append it to 12, then repeat: 128 / 98

Going ahead to step 5:
128 divided by 98 is 1 with a remainder of 30.
The next digit of our result is 1. 
Result so far: 511.0
If we subtract 98 from 128, we get 30.
Grab the next digit (1) from the dividend, add it to 30, then carry on: 301 / 98

Going ahead to step 6:
The number 98 fits into 301 3 times, leaving a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 5113.0
If we take 294 away from 301, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 7:
When dividing 70 by 98, we get 0 with a remainder of 70.
Put 0 as the next digit of the answer. 
Result so far: 5113.0
If we subtract 0 from 70, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 8:
The number 98 fits into 700 7 times, leaving a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 5113.07
If we subtract 686 from 700, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
140 divided by 98 is 1 with a remainder of 42.
The next digit of our result is 1. 
Result so far: 5113.071
Deduct 98 from 140 and we're left 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.

Advancing to step 10:
The number 98 fits into 420 4 times, leaving a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 5113.0714
The remainder is 28 after subtracting 392 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 11:
The number 98 fits into 280 2 times, leaving a remainder of 84.
Put 2 as the next digit of the answer. 
Result so far: 5113.07142
The remainder is 84 after subtracting 196 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 12:
98 can be fit into 840 8 times, resulting in a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 5113.071428
Deduct 784 from 840 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 13:
If we divide 560 by 98, we get 5 and a remainder of 70.
Use 5 as the next digit of our solution. 
Result so far: 5113.0714285
Subtracting 490 from 560 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 14:
If we divide 700 by 98, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 5113.07142857
Deduct 686 from 700 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 5113.07142857 and a remainder of 1.4e-08.