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

Moving on to step 1:
When dividing 1 by 21, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 21

Let's proceed to step 2:
If we divide 17 by 21, we get 0 and a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 17, we end up with 17.
Fetch the next digit (1) from the dividend, attach it to 17 and continue: 171 / 21

Moving on to step 3:
The number 21 fits into 171 8 times, leaving a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 8.0
The remainder is 3 after subtracting 168 from 171.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 21

Advancing to step 4:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 81.0
Subtract 21 from 30 to get 9.
Grab the next digit (7) from the dividend, add it to 9, then carry on: 97 / 21

Going ahead to step 5:
When dividing 97 by 21, we get 4 with a remainder of 13.
Record the quotient 4 as the next digit in the result. 
Result so far: 814.0
Subtracting 84 from 97 leaves us with 13.
Fetch the next digit (6) from the dividend, attach it to 13 and continue: 136 / 21

Step 6:
If we divide 136 by 21, we get 6 and a remainder of 10.
Record the quotient 6 as the next digit in the result. 
Result so far: 8146.0
Subtract 126 from 136 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 7:
100 divided by 21 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 8146.4
If we subtract 84 from 100, we 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.

Going ahead to step 8:
If we divide 160 by 21, we get 7 and a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 8146.47
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 9:
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: 8146.476
Deduct 126 from 130 and we're left 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 10:
21 goes into 40 1 times with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 8146.4761
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 11:
When dividing 190 by 21, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 8146.47619
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.

Advancing to step 12:
When dividing 10 by 21, we get 0 with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 8146.47619
Subtract 0 from 10 to get 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 13:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 8146.4761904
If we take 84 away from 100, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 14:
21 goes into 160 7 times with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 8146.47619047
If we take 147 away from 160, we end up 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.

The final outcome is 8146.47619047, with a leftover of 1.3e-08.