Let's divide 179037 by 21
The aim is to understand the frequency of 21 in 179037.

On to step 1:
When dividing 1 by 21, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 21

Step 2:
If we divide 17 by 21, we get 0 and a remainder of 17.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 17 and we're left with 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 21

Going ahead to step 3:
The number 21 fits into 179 8 times, leaving a remainder of 11.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Deduct 168 from 179 and we're left with 11.
Fetch the next digit (0) from the dividend, attach it to 11 and continue: 110 / 21

On to step 4:
The number 21 fits into 110 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 85.0
If we take 105 away from 110, we end up with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 21

Going ahead to step 5:
If we divide 53 by 21, we get 2 and a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 852.0
If we take 42 away from 53, we end up with 11.
Grab the next digit (7) from the dividend, add it to 11, then carry on: 117 / 21

Advancing to step 6:
If we divide 117 by 21, we get 5 and a remainder of 12.
Use 5 as the next digit of our solution. 
Result so far: 8525.0
If we subtract 105 from 117, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
21 goes into 120 5 times with a remainder of 15.
The next digit of our result is 5. 
Result so far: 8525.5
Deduct 105 from 120 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
150 divided by 21 is 7 with a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 8525.57
If we subtract 147 from 150, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 9:
21 goes into 30 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 8525.571
Subtracting 21 from 30 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 10:
90 divided by 21 is 4 with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 8525.5714
If we subtract 84 from 90, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
The number 21 fits into 60 2 times, leaving a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 8525.57142
If we subtract 42 from 60, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 12:
180 divided by 21 is 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 8525.571428
If we subtract 168 from 180, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 13:
If we divide 120 by 21, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 8525.5714285
If we subtract 105 from 120, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 14:
The number 21 fits into 150 7 times, leaving a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 8525.57142857
The remainder is 3 after subtracting 147 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Our division results in 8525.57142857 with a remaining 3e-09.