508596 ÷ 39 
The aim is to understand the frequency of 39 in 508596.

On to step 1:
39 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 39

On to step 2:
When dividing 50 by 39, we get 1 with a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 11 after subtracting 39 from 50.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 39

Going ahead to step 3:
When dividing 118 by 39, we get 3 with a remainder of 1.
The next digit of our result is 3. 
Result so far: 13.0
The remainder is 1 after subtracting 117 from 118.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 39

Let's proceed to step 4:
If we divide 15 by 39, we get 0 and a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 130.0
If we subtract 0 from 15, we get 15.
Take the next digit (9) from the dividend and append it to 15, then repeat: 159 / 39

Moving on to step 5:
The number 39 fits into 159 4 times, leaving a remainder of 3.
Put 4 as the next digit of the answer. 
Result so far: 1304.0
Subtract 156 from 159 to get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 39

Going ahead to step 6:
When dividing 36 by 39, we get 0 with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 13040.0
If we subtract 0 from 36, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 7:
The number 39 fits into 360 9 times, leaving a remainder of 9.
The next digit of our result is 9. 
Result so far: 13040.9
Subtract 351 from 360 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 8:
When dividing 90 by 39, we get 2 with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 13040.92
The remainder is 12 after subtracting 78 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
39 can be fit into 120 3 times, resulting in a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 13040.923
Deduct 117 from 120 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 10:
If we divide 30 by 39, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 13040.923
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 11:
If we divide 300 by 39, we get 7 and a remainder of 27.
The number 7 becomes the next digit in our result. 
Result so far: 13040.92307
If we subtract 273 from 300, 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.

Advancing to step 12:
If we divide 270 by 39, we get 6 and a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 13040.923076
Deduct 234 from 270 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 13:
360 divided by 39 is 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 13040.9230769
The remainder is 9 after subtracting 351 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 14:
If we divide 90 by 39, we get 2 and a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 13040.92307692
The remainder is 12 after subtracting 78 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 13040.92307692 with a remainder of 1.2e-08.