We're dividing 38638550 by 791 
The aim is to understand the frequency of 791 in 38638550.

On to step 1:
3 divided by 791 is 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.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 791

Step 2:
When dividing 38 by 791, we get 0 with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Take the next digit (6) from the dividend and append it to 38, then repeat: 386 / 791

On to step 3:
791 can be fit into 386 0 times, resulting in a remainder of 386.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 386 to get 386.
Append the next digit (3) from the dividend to 386 and continue with: 3863 / 791

Going ahead to step 4:
If we divide 3863 by 791, we get 4 and a remainder of 699.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
If we subtract 3164 from 3863, we get 699.
Include the next digit (8) from the dividend after 699, then repeat: 6998 / 791

Going ahead to step 5:
When dividing 6998 by 791, we get 8 with a remainder of 670.
The next digit of our result is 8. 
Result so far: 48.0
Subtracting 6328 from 6998 leaves us with 670.
Bring next digit (5) of the dividend behind the 670 and repeat the process: 6705 / 791

On to step 6:
If we divide 6705 by 791, we get 8 and a remainder of 377.
Put 8 as the next digit of the answer. 
Result so far: 488.0
If we take 6328 away from 6705, we end up with 377.
Fetch the next digit (5) from the dividend, attach it to 377 and continue: 3775 / 791

Moving on to step 7:
If we divide 3775 by 791, we get 4 and a remainder of 611.
Use 4 as the next digit of our solution. 
Result so far: 4884.0
Subtracting 3164 from 3775 leaves us with 611.
Take the next digit (0) from the dividend and append it to 611, then repeat: 6110 / 791

On to step 8:
791 can be fit into 6110 7 times, resulting in a remainder of 573.
Put 7 as the next digit of the answer. 
Result so far: 48847.0
If we take 5537 away from 6110, we end up with 573.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5730, and continue the process.

Going ahead to step 9:
791 can be fit into 5730 7 times, resulting in a remainder of 193.
The number 7 becomes the next digit in our result. 
Result so far: 48847.7
Deduct 5537 from 5730 and we're left with 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Moving on to step 10:
1930 divided by 791 is 2 with a remainder of 348.
The next digit of our result is 2. 
Result so far: 48847.72
The remainder is 348 after subtracting 1582 from 1930.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3480, and continue the process.

Advancing to step 11:
If we divide 3480 by 791, we get 4 and a remainder of 316.
Record the quotient 4 as the next digit in the result. 
Result so far: 48847.724
Deduct 3164 from 3480 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

Moving on to step 12:
3160 divided by 791 is 3 with a remainder of 787.
The next digit of our result is 3. 
Result so far: 48847.7243
Subtracting 2373 from 3160 leaves us with 787.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7870, and continue the process.

Moving on to step 13:
When dividing 7870 by 791, we get 9 with a remainder of 751.
Write down 9 as next digit of the result. 
Result so far: 48847.72439
If we take 7119 away from 7870, we end up with 751.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7510, and continue the process.

Step 14:
7510 divided by 791 is 9 with a remainder of 391.
The number 9 becomes the next digit in our result. 
Result so far: 48847.724399
If we subtract 7119 from 7510, we get 391.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3910, and continue the process.

Our division results in 48847.724399 with a remaining 3.91e-05.