We divide 407862 by 39
The aim is to understand the frequency of 39 in 407862.

On to step 1:
The number 39 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 39

Let's proceed to step 2:
40 divided by 39 is 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 1 after subtracting 39 from 40.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 39

Let's proceed to step 3:
When dividing 17 by 39, we get 0 with a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 17 and we're left with 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 39

Advancing to step 4:
39 goes into 178 4 times with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 104.0
The remainder is 22 after subtracting 156 from 178.
Append the next digit (6) from the dividend to 22 and continue with: 226 / 39

Step 5:
39 can be fit into 226 5 times, resulting in a remainder of 31.
Use 5 as the next digit of our solution. 
Result so far: 1045.0
Subtract 195 from 226 to get 31.
Grab the next digit (2) from the dividend, add it to 31, then carry on: 312 / 39

Advancing to step 6:
312 divided by 39 is 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 10458.0
Subtract 312 from 312 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
0 divided by 39 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10458.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
39 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10458.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 10458.0 with a remaining 0.0.