We're dividing 502598 by 98 
The aim is to understand the frequency of 98 in 502598.

Going ahead to step 1:
The number 98 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 98

Advancing to step 2:
When dividing 50 by 98, we get 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Append the next digit (2) from the dividend to 50 and continue with: 502 / 98

Advancing to step 3:
98 goes into 502 5 times with a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 490 from 502 and we're left with 12.
Fetch the next digit (5) from the dividend, attach it to 12 and continue: 125 / 98

Step 4:
If we divide 125 by 98, we get 1 and a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
Subtracting 98 from 125 leaves us with 27.
Grab the next digit (9) from the dividend, add it to 27, then carry on: 279 / 98

Going ahead to step 5:
279 divided by 98 is 2 with a remainder of 83.
Record the quotient 2 as the next digit in the result. 
Result so far: 512.0
If we subtract 196 from 279, we get 83.
Append the next digit (8) from the dividend to 83 and continue with: 838 / 98

Advancing to step 6:
When dividing 838 by 98, we get 8 with a remainder of 54.
Write down 8 as next digit of the result. 
Result so far: 5128.0
The remainder is 54 after subtracting 784 from 838.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 7:
The number 98 fits into 540 5 times, leaving a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 5128.5
If we take 490 away from 540, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 8:
98 goes into 500 5 times with a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 5128.55
If we take 490 away from 500, we end up 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.

Our division results in 5128.55 with a remaining 0.01.