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

On to step 1:
If we divide 8 by 39, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 39

On to step 2:
84 divided by 39 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 6 after subtracting 78 from 84.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 39

Moving on to step 3:
39 goes into 65 1 times with a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtracting 39 from 65 leaves us with 26.
Grab the next digit (8) from the dividend, add it to 26, then carry on: 268 / 39

Let's proceed to step 4:
When dividing 268 by 39, we get 6 with a remainder of 34.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
The remainder is 34 after subtracting 234 from 268.
Include the next digit (0) from the dividend after 34, then repeat: 340 / 39

Step 5:
39 goes into 340 8 times with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 2168.0
Deduct 312 from 340 and we're left with 28.
Grab the next digit (1) from the dividend, add it to 28, then carry on: 281 / 39

Step 6:
281 divided by 39 is 7 with a remainder of 8.
The next digit of our result is 7. 
Result so far: 21687.0
If we take 273 away from 281, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 7:
When dividing 80 by 39, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 21687.2
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
When dividing 20 by 39, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 21687.2
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
The number 39 fits into 200 5 times, leaving a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 21687.205
Subtracting 195 from 200 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 10:
39 goes into 50 1 times with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 21687.2051
Subtract 39 from 50 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
110 divided by 39 is 2 with a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 21687.20512
The remainder is 32 after subtracting 78 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 12:
When dividing 320 by 39, we get 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 21687.205128
The remainder is 8 after subtracting 312 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 13:
When dividing 80 by 39, we get 2 with a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 21687.2051282
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
39 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 21687.2051282
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 21687.2051282, with a leftover of 2e-08.