350164 divided by 39 
The aim is to understand the frequency of 39 in 350164.

Moving on to step 1:
39 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 39

Going ahead to step 2:
The number 39 fits into 35 0 times, leaving a remainder of 35.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 35 leaves us with 35.
Fetch the next digit (0) from the dividend, attach it to 35 and continue: 350 / 39

Moving on to step 3:
39 can be fit into 350 8 times, resulting in a remainder of 38.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 312 from 350 to get 38.
Take the next digit (1) from the dividend and append it to 38, then repeat: 381 / 39

Let's proceed to step 4:
39 can be fit into 381 9 times, resulting in a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 89.0
If we take 351 away from 381, we end up with 30.
Fetch the next digit (6) from the dividend, attach it to 30 and continue: 306 / 39

Going ahead to step 5:
The number 39 fits into 306 7 times, leaving a remainder of 33.
Use 7 as the next digit of our solution. 
Result so far: 897.0
Subtract 273 from 306 to get 33.
Include the next digit (4) from the dividend after 33, then repeat: 334 / 39

On to step 6:
39 goes into 334 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 8978.0
Subtract 312 from 334 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 7:
220 divided by 39 is 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 8978.5
If we subtract 195 from 220, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
39 goes into 250 6 times with a remainder of 16.
The next digit of our result is 6. 
Result so far: 8978.56
Deduct 234 from 250 and we're left 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.

Moving on to step 9:
39 goes into 160 4 times with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 8978.564
If we take 156 away from 160, we end up 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:
The number 39 fits into 40 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 8978.5641
Subtract 39 from 40 to get 1.
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 11:
39 can be fit into 10 0 times, resulting in a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 8978.5641
Subtracting 0 from 10 leaves us 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 12:
39 goes into 100 2 times with a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 8978.564102
Subtracting 78 from 100 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 13:
The number 39 fits into 220 5 times, leaving a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 8978.5641025
Subtract 195 from 220 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 14:
250 divided by 39 is 6 with a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 8978.56410256
Subtracting 234 from 250 leaves us 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.

The final outcome is 8978.56410256, with a leftover of 1.6e-08.