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

On to step 1:
The number 39 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 39

Going ahead to step 2:
81 divided by 39 is 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 78 from 81 leaves us with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 39

Let's proceed to step 3:
If we divide 38 by 39, we get 0 and a remainder of 38.
The next digit of our result is 0. 
Result so far: 20.0
Deduct 0 from 38 and we're left with 38.
Bring next digit (2) of the dividend behind the 38 and repeat the process: 382 / 39

Let's proceed to step 4:
39 goes into 382 9 times with a remainder of 31.
Record the quotient 9 as the next digit in the result. 
Result so far: 209.0
Subtracting 351 from 382 leaves us with 31.
Grab the next digit (1) from the dividend, add it to 31, then carry on: 311 / 39

Let's proceed to step 5:
When dividing 311 by 39, we get 7 with a remainder of 38.
Put 7 as the next digit of the answer. 
Result so far: 2097.0
The remainder is 38 after subtracting 273 from 311.
Bring next digit (7) of the dividend behind the 38 and repeat the process: 387 / 39

Going ahead to step 6:
39 goes into 387 9 times with a remainder of 36.
Record the quotient 9 as the next digit in the result. 
Result so far: 20979.0
Deduct 351 from 387 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.

Let's proceed to step 7:
39 goes into 360 9 times with a remainder of 9.
The next digit of our result is 9. 
Result so far: 20979.9
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 8:
39 goes into 90 2 times with a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 20979.92
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 9:
39 can be fit into 120 3 times, resulting in a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 20979.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.

On to step 10:
39 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 20979.923
Deduct 0 from 30 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
The number 39 fits into 300 7 times, leaving a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 20979.92307
The remainder is 27 after subtracting 273 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 12:
39 can be fit into 270 6 times, resulting in a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 20979.923076
If we take 234 away from 270, we end up 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.

Advancing to step 13:
39 goes into 360 9 times with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 20979.9230769
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 14:
39 can be fit into 90 2 times, resulting in a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 20979.92307692
Subtract 78 from 90 to get 12.
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 20979.92307692 with a remainder of 1.2e-08.