We divide 84151 by 21
The aim is to understand the frequency of 21 in 84151.

Advancing to step 1:
21 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (4) from the dividend, attach it to 8 and continue: 84 / 21

Step 2:
21 goes into 84 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 84 from 84, we get 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 21

Step 3:
When dividing 1 by 21, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 21

Advancing to step 4:
The number 21 fits into 15 0 times, leaving a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 400.0
Deduct 0 from 15 and we're left with 15.
Take the next digit (1) from the dividend and append it to 15, then repeat: 151 / 21

Advancing to step 5:
When dividing 151 by 21, we get 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 4007.0
Subtracting 147 from 151 leaves us 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 6:
When dividing 40 by 21, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 4007.1
If we take 21 away from 40, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
The number 21 fits into 190 9 times, leaving a remainder of 1.
The next digit of our result is 9. 
Result so far: 4007.19
Deduct 189 from 190 and we're left 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.

On to step 8:
10 divided by 21 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 4007.19
If we take 0 away from 10, 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.

Going ahead to step 9:
21 can be fit into 100 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 4007.1904
Subtract 84 from 100 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
The number 21 fits into 160 7 times, leaving a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 4007.19047
Deduct 147 from 160 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 11:
If we divide 130 by 21, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 4007.190476
Subtracting 126 from 130 leaves us 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.

Let's proceed to step 12:
The number 21 fits into 40 1 times, leaving a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 4007.1904761
If we take 21 away from 40, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 13:
21 can be fit into 190 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 4007.19047619
Deduct 189 from 190 and we're left 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.

The final result is 4007.19047619 with a remainder of 1e-09.