Let's divide 98641 by 87
The aim is to understand the frequency of 87 in 98641.

Going ahead to step 1:
9 divided by 87 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 87

Advancing to step 2:
If we divide 98 by 87, we get 1 and a remainder of 11.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 87 from 98 to get 11.
Grab the next digit (6) from the dividend, add it to 11, then carry on: 116 / 87

Step 3:
The number 87 fits into 116 1 times, leaving a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtract 87 from 116 to get 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 87

Step 4:
294 divided by 87 is 3 with a remainder of 33.
Put 3 as the next digit of the answer. 
Result so far: 113.0
The remainder is 33 after subtracting 261 from 294.
Bring next digit (1) of the dividend behind the 33 and repeat the process: 331 / 87

Moving on to step 5:
When dividing 331 by 87, we get 3 with a remainder of 70.
Put 3 as the next digit of the answer. 
Result so far: 1133.0
Subtract 261 from 331 to 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.

Moving on to step 6:
87 can be fit into 700 8 times, resulting in a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 1133.8
If we take 696 away from 700, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
If we divide 40 by 87, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 1133.8
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 8:
87 can be fit into 400 4 times, resulting in a remainder of 52.
Use 4 as the next digit of our solution. 
Result so far: 1133.804
Subtract 348 from 400 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 9:
520 divided by 87 is 5 with a remainder of 85.
Record the quotient 5 as the next digit in the result. 
Result so far: 1133.8045
Deduct 435 from 520 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Advancing to step 10:
850 divided by 87 is 9 with a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 1133.80459
Subtracting 783 from 850 leaves us with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 11:
670 divided by 87 is 7 with a remainder of 61.
The number 7 becomes the next digit in our result. 
Result so far: 1133.804597
The remainder is 61 after subtracting 609 from 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Going ahead to step 12:
The number 87 fits into 610 7 times, leaving a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 1133.8045977
If we take 609 away from 610, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

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