Let's divide 179871 by 89
The aim is to understand the frequency of 89 in 179871.

Going ahead to step 1:
If we divide 1 by 89, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 89

Step 2:
17 divided by 89 is 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 17 leaves us with 17.
Include the next digit (9) from the dividend after 17, then repeat: 179 / 89

Moving on to step 3:
89 can be fit into 179 2 times, resulting in a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 1 after subtracting 178 from 179.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 89

Step 4:
The number 89 fits into 18 0 times, leaving a remainder of 18.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 18 and we're left with 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 89

Advancing to step 5:
89 can be fit into 187 2 times, resulting in a remainder of 9.
Use 2 as the next digit of our solution. 
Result so far: 202.0
If we subtract 178 from 187, we get 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 89

Going ahead to step 6:
89 can be fit into 91 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 2021.0
Subtract 89 from 91 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 7:
89 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 2021.0
Subtracting 0 from 20 leaves us 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.

Let's proceed to step 8:
When dividing 200 by 89, we get 2 with a remainder of 22.
Put 2 as the next digit of the answer. 
Result so far: 2021.02
The remainder is 22 after subtracting 178 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
The number 89 fits into 220 2 times, leaving a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 2021.022
Subtract 178 from 220 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The quotient of the division is 2021.022, and the remainder is 0.0042.