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

Advancing to step 1:
When dividing 4 by 29, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 29

On to step 2:
40 divided by 29 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 29 away from 40, we end up with 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 29

Advancing to step 3:
29 goes into 111 3 times with a remainder of 24.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
The remainder is 24 after subtracting 87 from 111.
Grab the next digit (3) from the dividend, add it to 24, then carry on: 243 / 29

Advancing to step 4:
243 divided by 29 is 8 with a remainder of 11.
Use 8 as the next digit of our solution. 
Result so far: 138.0
If we subtract 232 from 243, we get 11.
Grab the next digit (5) from the dividend, add it to 11, then carry on: 115 / 29

Advancing to step 5:
The number 29 fits into 115 3 times, leaving a remainder of 28.
Write down 3 as next digit of the result. 
Result so far: 1383.0
Subtract 87 from 115 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 6:
The number 29 fits into 280 9 times, leaving a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 1383.9
Deduct 261 from 280 and we're left 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 29 fits into 190 6 times, leaving a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 1383.96
Subtract 174 from 190 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.

Going ahead to step 8:
29 can be fit into 160 5 times, resulting in a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 1383.965
If we subtract 145 from 160, 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.

Moving on to step 9:
If we divide 150 by 29, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 1383.9655
Subtracting 145 from 150 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 1383.9655 with a remaining 5e-05.