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

On to step 1:
5 divided by 39 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 39

Step 2:
39 goes into 50 1 times with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 39 from 50, we get 11.
Bring next digit (0) of the dividend behind the 11 and repeat the process: 110 / 39

Let's proceed to step 3:
110 divided by 39 is 2 with a remainder of 32.
The next digit of our result is 2. 
Result so far: 12.0
If we subtract 78 from 110, we get 32.
Append the next digit (8) from the dividend to 32 and continue with: 328 / 39

On to step 4:
When dividing 328 by 39, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 128.0
If we subtract 312 from 328, we get 16.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 39

Advancing to step 5:
39 goes into 160 4 times with a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 1284.0
If we take 156 away from 160, we end up with 4.
Include the next digit (6) from the dividend after 4, then repeat: 46 / 39

Moving on to step 6:
46 divided by 39 is 1 with a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 12841.0
If we subtract 39 from 46, we 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 7:
When dividing 70 by 39, we get 1 with a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 12841.1
The remainder is 31 after subtracting 39 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Moving on to step 8:
If we divide 310 by 39, we get 7 and a remainder of 37.
Use 7 as the next digit of our solution. 
Result so far: 12841.17
Subtract 273 from 310 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 9:
39 can be fit into 370 9 times, resulting in a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 12841.179
The remainder is 19 after subtracting 351 from 370.
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 10:
The number 39 fits into 190 4 times, leaving a remainder of 34.
Write down 4 as next digit of the result. 
Result so far: 12841.1794
Subtract 156 from 190 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 11:
If we divide 340 by 39, we get 8 and a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 12841.17948
If we take 312 away from 340, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
39 goes into 280 7 times with a remainder of 7.
The next digit of our result is 7. 
Result so far: 12841.179487
Deduct 273 from 280 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 13:
When dividing 70 by 39, we get 1 with a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 12841.1794871
If we take 39 away from 70, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 14:
The number 39 fits into 310 7 times, leaving a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 12841.17948717
The remainder is 37 after subtracting 273 from 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

After the division, we end up with 12841.17948717 and a remainder of 3.7e-08.