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

Let's proceed to step 1:
39 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 39

Advancing to step 2:
If we divide 50 by 39, we get 1 and a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 39 from 50 and we're left with 11.
Include the next digit (5) from the dividend after 11, then repeat: 115 / 39

Moving on to step 3:
115 divided by 39 is 2 with a remainder of 37.
Write down 2 as next digit of the result. 
Result so far: 12.0
Deduct 78 from 115 and we're left with 37.
Take the next digit (8) from the dividend and append it to 37, then repeat: 378 / 39

On to step 4:
If we divide 378 by 39, we get 9 and a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 129.0
If we take 351 away from 378, we end up with 27.
Fetch the next digit (2) from the dividend, attach it to 27 and continue: 272 / 39

Advancing to step 5:
If we divide 272 by 39, we get 6 and a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 1296.0
Subtracting 234 from 272 leaves us with 38.
Grab the next digit (2) from the dividend, add it to 38, then carry on: 382 / 39

Advancing to step 6:
The number 39 fits into 382 9 times, leaving a remainder of 31.
Use 9 as the next digit of our solution. 
Result so far: 12969.0
The remainder is 31 after subtracting 351 from 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
If we divide 310 by 39, we get 7 and a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 12969.7
Subtract 273 from 310 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 8:
39 goes into 370 9 times with a remainder of 19.
Use 9 as the next digit of our solution. 
Result so far: 12969.79
Subtracting 351 from 370 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 9:
190 divided by 39 is 4 with a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 12969.794
The remainder is 34 after subtracting 156 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 10:
39 goes into 340 8 times with a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 12969.7948
Deduct 312 from 340 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
When dividing 280 by 39, we get 7 with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 12969.79487
Subtracting 273 from 280 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 12:
70 divided by 39 is 1 with a remainder of 31.
Put 1 as the next digit of the answer. 
Result so far: 12969.794871
Deduct 39 from 70 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 13:
310 divided by 39 is 7 with a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 12969.7948717
If we take 273 away from 310, we end up with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 14:
When dividing 370 by 39, we get 9 with a remainder of 19.
Put 9 as the next digit of the answer. 
Result so far: 12969.79487179
Subtract 351 from 370 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The quotient of the division is 12969.79487179, and the remainder is 1.9e-08.