We divide 398966 by 29
The aim is to understand the frequency of 29 in 398966.

On to step 1:
If we divide 3 by 29, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 29

Advancing to step 2:
29 goes into 39 1 times with a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 10 after subtracting 29 from 39.
Grab the next digit (8) from the dividend, add it to 10, then carry on: 108 / 29

Advancing to step 3:
108 divided by 29 is 3 with a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 13.0
Subtracting 87 from 108 leaves us with 21.
Bring next digit (9) of the dividend behind the 21 and repeat the process: 219 / 29

On to step 4:
The number 29 fits into 219 7 times, leaving a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 137.0
The remainder is 16 after subtracting 203 from 219.
Bring next digit (6) of the dividend behind the 16 and repeat the process: 166 / 29

Let's proceed to step 5:
When dividing 166 by 29, we get 5 with a remainder of 21.
The number 5 becomes the next digit in our result. 
Result so far: 1375.0
Subtracting 145 from 166 leaves us with 21.
Take the next digit (6) from the dividend and append it to 21, then repeat: 216 / 29

Let's proceed to step 6:
When dividing 216 by 29, we get 7 with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 13757.0
Subtract 203 from 216 to get 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 7:
The number 29 fits into 130 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 13757.4
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.

Advancing to step 8:
29 can be fit into 140 4 times, resulting in a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 13757.44
If we take 116 away from 140, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Our division results in 13757.44 with a remaining 0.024.