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

Moving on to step 1:
If we divide 5 by 98, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 98

Going ahead to step 2:
When dividing 58 by 98, we get 0 with a remainder of 58.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Include the next digit (6) from the dividend after 58, then repeat: 586 / 98

Moving on to step 3:
If we divide 586 by 98, we get 5 and a remainder of 96.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 96 after subtracting 490 from 586.
Fetch the next digit (1) from the dividend, attach it to 96 and continue: 961 / 98

On to step 4:
961 divided by 98 is 9 with a remainder of 79.
Write down 9 as next digit of the result. 
Result so far: 59.0
If we take 882 away from 961, we end up with 79.
Include the next digit (7) from the dividend after 79, then repeat: 797 / 98

On to step 5:
98 can be fit into 797 8 times, resulting in a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 598.0
Deduct 784 from 797 and we're left with 13.
Grab the next digit (3) from the dividend, add it to 13, then carry on: 133 / 98

Moving on to step 6:
The number 98 fits into 133 1 times, leaving a remainder of 35.
The number 1 becomes the next digit in our result. 
Result so far: 5981.0
If we subtract 98 from 133, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 7:
98 can be fit into 350 3 times, resulting in a remainder of 56.
Record the quotient 3 as the next digit in the result. 
Result so far: 5981.3
The remainder is 56 after subtracting 294 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 8:
560 divided by 98 is 5 with a remainder of 70.
The next digit of our result is 5. 
Result so far: 5981.35
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.

On to step 9:
The number 98 fits into 700 7 times, leaving a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 5981.357
Subtracting 686 from 700 leaves us 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.

Step 10:
When dividing 140 by 98, we get 1 with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 5981.3571
The remainder is 42 after subtracting 98 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 11:
If we divide 420 by 98, we get 4 and a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 5981.35714
If we subtract 392 from 420, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 12:
When dividing 280 by 98, we get 2 with a remainder of 84.
The number 2 becomes the next digit in our result. 
Result so far: 5981.357142
Deduct 196 from 280 and we're left with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 13:
840 divided by 98 is 8 with a remainder of 56.
The next digit of our result is 8. 
Result so far: 5981.3571428
The remainder is 56 after subtracting 784 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 14:
98 goes into 560 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 5981.35714285
If we subtract 490 from 560, 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.

The final result is 5981.35714285 with a remainder of 7e-08.