Let's divide 170821 by 29
The aim is to understand the frequency of 29 in 170821.

Advancing to step 1:
If we divide 1 by 29, we get 0 and a remainder of 1.
Record the quotient 0 as the next digit in the result. 
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 / 29

Going ahead to step 2:
17 divided by 29 is 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 17 to get 17.
Take the next digit (0) from the dividend and append it to 17, then repeat: 170 / 29

Let's proceed to step 3:
If we divide 170 by 29, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 145 away from 170, we end up with 25.
Append the next digit (8) from the dividend to 25 and continue with: 258 / 29

Let's proceed to step 4:
If we divide 258 by 29, we get 8 and a remainder of 26.
The next digit of our result is 8. 
Result so far: 58.0
The remainder is 26 after subtracting 232 from 258.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 29

Moving on to step 5:
29 goes into 262 9 times with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 589.0
If we subtract 261 from 262, we get 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 29

Going ahead to step 6:
When dividing 11 by 29, we get 0 with a remainder of 11.
The next digit of our result is 0. 
Result so far: 5890.0
If we take 0 away from 11, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 7:
29 can be fit into 110 3 times, resulting in a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 5890.3
Subtracting 87 from 110 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 8:
230 divided by 29 is 7 with a remainder of 27.
Record the quotient 7 as the next digit in the result. 
Result so far: 5890.37
If we take 203 away from 230, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 9:
When dividing 270 by 29, we get 9 with a remainder of 9.
The next digit of our result is 9. 
Result so far: 5890.379
If we subtract 261 from 270, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 10:
90 divided by 29 is 3 with a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 5890.3793
If we subtract 87 from 90, 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.

Moving on to step 11:
When dividing 30 by 29, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 5890.37931
The remainder is 1 after subtracting 29 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 12:
If we divide 10 by 29, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5890.37931
Deduct 0 from 10 and we're left 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.

On to step 13:
If we divide 100 by 29, we get 3 and a remainder of 13.
Put 3 as the next digit of the answer. 
Result so far: 5890.3793103
Deduct 87 from 100 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.

Going ahead to step 14:
If we divide 130 by 29, we get 4 and a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 5890.37931034
Subtract 116 from 130 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 5890.37931034 with a remainder of 1.4e-08.