We look at the division of 331050 by 29 
The aim is to understand the frequency of 29 in 331050.

On to step 1:
If we divide 3 by 29, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 29

On to step 2:
33 divided by 29 is 1 with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 4 after subtracting 29 from 33.
Include the next digit (1) from the dividend after 4, then repeat: 41 / 29

Step 3:
41 divided by 29 is 1 with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we subtract 29 from 41, we get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 29

Step 4:
29 can be fit into 120 4 times, resulting in a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 114.0
Deduct 116 from 120 and we're left with 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 29

Step 5:
If we divide 45 by 29, we get 1 and a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1141.0
Subtracting 29 from 45 leaves us with 16.
Take the next digit (0) from the dividend and append it to 16, then repeat: 160 / 29

Moving on to step 6:
29 goes into 160 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 11415.0
If we take 145 away from 160, we end up 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.

Step 7:
29 can be fit into 150 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 11415.5
The remainder is 5 after subtracting 145 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 8:
If we divide 50 by 29, we get 1 and a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 11415.51
Subtract 29 from 50 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 9:
29 can be fit into 210 7 times, resulting in a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 11415.517
Subtract 203 from 210 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 10:
29 can be fit into 70 2 times, resulting in a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 11415.5172
If we subtract 58 from 70, 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 11:
When dividing 120 by 29, we get 4 with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 11415.51724
The remainder is 4 after subtracting 116 from 120.
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:
When dividing 40 by 29, we get 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 11415.517241
If we subtract 29 from 40, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 13:
When dividing 110 by 29, we get 3 with a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 11415.5172413
Deduct 87 from 110 and we're left 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 14:
The number 29 fits into 230 7 times, leaving a remainder of 27.
Use 7 as the next digit of our solution. 
Result so far: 11415.51724137
If we subtract 203 from 230, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The final outcome is 11415.51724137, with a leftover of 2.7e-08.