We're dividing 221822 by 39 
The aim is to understand the frequency of 39 in 221822.

On to step 1:
2 divided by 39 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 39

Step 2:
If we divide 22 by 39, we get 0 and a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 22 after subtracting 0 from 22.
Bring next digit (1) of the dividend behind the 22 and repeat the process: 221 / 39

Step 3:
39 can be fit into 221 5 times, resulting in a remainder of 26.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
The remainder is 26 after subtracting 195 from 221.
Include the next digit (8) from the dividend after 26, then repeat: 268 / 39

Step 4:
268 divided by 39 is 6 with a remainder of 34.
The next digit of our result is 6. 
Result so far: 56.0
If we subtract 234 from 268, we get 34.
Bring next digit (2) of the dividend behind the 34 and repeat the process: 342 / 39

Step 5:
39 goes into 342 8 times with a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 568.0
If we subtract 312 from 342, we get 30.
Grab the next digit (2) from the dividend, add it to 30, then carry on: 302 / 39

Advancing to step 6:
39 can be fit into 302 7 times, resulting in a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 5687.0
The remainder is 29 after subtracting 273 from 302.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 7:
If we divide 290 by 39, we get 7 and a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 5687.7
Subtracting 273 from 290 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 8:
39 goes into 170 4 times with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 5687.74
If we take 156 away from 170, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 9:
140 divided by 39 is 3 with a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 5687.743
Subtract 117 from 140 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 10:
When dividing 230 by 39, we get 5 with a remainder of 35.
The number 5 becomes the next digit in our result. 
Result so far: 5687.7435
Subtracting 195 from 230 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 11:
When dividing 350 by 39, we get 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 5687.74358
Subtracting 312 from 350 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Step 12:
39 can be fit into 380 9 times, resulting in a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 5687.743589
The remainder is 29 after subtracting 351 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 13:
39 can be fit into 290 7 times, resulting in a remainder of 17.
Use 7 as the next digit of our solution. 
Result so far: 5687.7435897
If we subtract 273 from 290, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 14:
The number 39 fits into 170 4 times, leaving a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 5687.74358974
Subtracting 156 from 170 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The final result is 5687.74358974 with a remainder of 1.4e-08.