50985938 ÷ 389 
The aim is to understand the frequency of 389 in 50985938.

On to step 1:
If we divide 5 by 389, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 389

On to step 2:
389 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Bring next digit (9) of the dividend behind the 50 and repeat the process: 509 / 389

On to step 3:
389 can be fit into 509 1 times, resulting in a remainder of 120.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 389 from 509 and we're left with 120.
Grab the next digit (8) from the dividend, add it to 120, then carry on: 1208 / 389

Moving on to step 4:
When dividing 1208 by 389, we get 3 with a remainder of 41.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Deduct 1167 from 1208 and we're left with 41.
Include the next digit (5) from the dividend after 41, then repeat: 415 / 389

On to step 5:
389 can be fit into 415 1 times, resulting in a remainder of 26.
The next digit of our result is 1. 
Result so far: 131.0
If we subtract 389 from 415, we get 26.
Take the next digit (9) from the dividend and append it to 26, then repeat: 269 / 389

Let's proceed to step 6:
269 divided by 389 is 0 with a remainder of 269.
The number 0 becomes the next digit in our result. 
Result so far: 1310.0
Subtracting 0 from 269 leaves us with 269.
Fetch the next digit (3) from the dividend, attach it to 269 and continue: 2693 / 389

Let's proceed to step 7:
The number 389 fits into 2693 6 times, leaving a remainder of 359.
Use 6 as the next digit of our solution. 
Result so far: 13106.0
If we subtract 2334 from 2693, we get 359.
Append the next digit (8) from the dividend to 359 and continue with: 3598 / 389

On to step 8:
3598 divided by 389 is 9 with a remainder of 97.
The number 9 becomes the next digit in our result. 
Result so far: 131069.0
If we subtract 3501 from 3598, we get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

On to step 9:
970 divided by 389 is 2 with a remainder of 192.
Use 2 as the next digit of our solution. 
Result so far: 131069.2
Deduct 778 from 970 and we're left with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Moving on to step 10:
If we divide 1920 by 389, we get 4 and a remainder of 364.
The number 4 becomes the next digit in our result. 
Result so far: 131069.24
The remainder is 364 after subtracting 1556 from 1920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Let's proceed to step 11:
389 can be fit into 3640 9 times, resulting in a remainder of 139.
Record the quotient 9 as the next digit in the result. 
Result so far: 131069.249
Deduct 3501 from 3640 and we're left with 139.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1390, and continue the process.

Advancing to step 12:
1390 divided by 389 is 3 with a remainder of 223.
Record the quotient 3 as the next digit in the result. 
Result so far: 131069.2493
Subtract 1167 from 1390 to get 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Moving on to step 13:
When dividing 2230 by 389, we get 5 with a remainder of 285.
Use 5 as the next digit of our solution. 
Result so far: 131069.24935
Subtracting 1945 from 2230 leaves us with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

On to step 14:
389 goes into 2850 7 times with a remainder of 127.
The next digit of our result is 7. 
Result so far: 131069.249357
If we take 2723 away from 2850, we end up with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Moving on to step 15:
389 can be fit into 1270 3 times, resulting in a remainder of 103.
Write down 3 as next digit of the result. 
Result so far: 131069.2493573
The remainder is 103 after subtracting 1167 from 1270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Moving on to step 16:
If we divide 1030 by 389, we get 2 and a remainder of 252.
The number 2 becomes the next digit in our result. 
Result so far: 131069.24935732
If we take 778 away from 1030, we end up with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

In conclusion, the division gives 131069.24935732 with a balance of 2.52e-07.