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

Advancing to step 1:
When dividing 3 by 39, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (5) from the dividend, add it to 3, then carry on: 35 / 39

On to step 2:
The number 39 fits into 35 0 times, leaving a remainder of 35.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 35 to get 35.
Fetch the next digit (1) from the dividend, attach it to 35 and continue: 351 / 39

On to step 3:
When dividing 351 by 39, we get 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
The remainder is 0 after subtracting 351 from 351.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 39

On to step 4:
7 divided by 39 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
If we take 0 away from 7, we end up with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 39

Going ahead to step 5:
The number 39 fits into 79 2 times, leaving a remainder of 1.
The next digit of our result is 2. 
Result so far: 902.0
Subtracting 78 from 79 leaves us with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 39

Step 6:
39 can be fit into 11 0 times, resulting in a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 9020.0
Subtract 0 from 11 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.

Advancing to step 7:
110 divided by 39 is 2 with a remainder of 32.
Put 2 as the next digit of the answer. 
Result so far: 9020.2
Subtracting 78 from 110 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 8:
320 divided by 39 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 9020.28
If we take 312 away from 320, 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.

On to step 9:
When dividing 80 by 39, we get 2 with a remainder of 2.
The next digit of our result is 2. 
Result so far: 9020.282
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 10:
If we divide 20 by 39, we get 0 and a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 9020.282
Deduct 0 from 20 and we're left 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.

Advancing to step 11:
If we divide 200 by 39, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 9020.28205
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.

Advancing to step 12:
When dividing 50 by 39, we get 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 9020.282051
If we take 39 away from 50, we end up with 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 13:
39 goes into 110 2 times with a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 9020.2820512
If we take 78 away from 110, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 14:
The number 39 fits into 320 8 times, leaving a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 9020.28205128
If we take 312 away from 320, 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.

After the division, we end up with 9020.28205128 and a remainder of 8e-09.