We're dividing 50399710 by 838 
The aim is to understand the frequency of 838 in 50399710.

On to step 1:
The number 838 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 838

Going ahead to step 2:
If we divide 50 by 838, we get 0 and a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Bring next digit (3) of the dividend behind the 50 and repeat the process: 503 / 838

Going ahead to step 3:
838 goes into 503 0 times with a remainder of 503.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 503, we end up with 503.
Grab the next digit (9) from the dividend, add it to 503, then carry on: 5039 / 838

Going ahead to step 4:
If we divide 5039 by 838, we get 6 and a remainder of 11.
Use 6 as the next digit of our solution. 
Result so far: 6.0
Subtracting 5028 from 5039 leaves us with 11.
Include the next digit (9) from the dividend after 11, then repeat: 119 / 838

Going ahead to step 5:
838 goes into 119 0 times with a remainder of 119.
The number 0 becomes the next digit in our result. 
Result so far: 60.0
The remainder is 119 after subtracting 0 from 119.
Take the next digit (7) from the dividend and append it to 119, then repeat: 1197 / 838

Going ahead to step 6:
The number 838 fits into 1197 1 times, leaving a remainder of 359.
Write down 1 as next digit of the result. 
Result so far: 601.0
If we subtract 838 from 1197, we get 359.
Grab the next digit (1) from the dividend, add it to 359, then carry on: 3591 / 838

Step 7:
838 can be fit into 3591 4 times, resulting in a remainder of 239.
Record the quotient 4 as the next digit in the result. 
Result so far: 6014.0
Subtract 3352 from 3591 to get 239.
Bring next digit (0) of the dividend behind the 239 and repeat the process: 2390 / 838

Step 8:
838 can be fit into 2390 2 times, resulting in a remainder of 714.
The next digit of our result is 2. 
Result so far: 60142.0
The remainder is 714 after subtracting 1676 from 2390.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7140, and continue the process.

Going ahead to step 9:
The number 838 fits into 7140 8 times, leaving a remainder of 436.
Put 8 as the next digit of the answer. 
Result so far: 60142.8
The remainder is 436 after subtracting 6704 from 7140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Advancing to step 10:
4360 divided by 838 is 5 with a remainder of 170.
The next digit of our result is 5. 
Result so far: 60142.85
Deduct 4190 from 4360 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Moving on to step 11:
838 goes into 1700 2 times with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 60142.852
Subtracting 1676 from 1700 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
838 can be fit into 240 0 times, resulting in a remainder of 240.
Put 0 as the next digit of the answer. 
Result so far: 60142.852
Subtracting 0 from 240 leaves us with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 13:
2400 divided by 838 is 2 with a remainder of 724.
The number 2 becomes the next digit in our result. 
Result so far: 60142.85202
If we take 1676 away from 2400, we end up with 724.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7240, and continue the process.

Let's proceed to step 14:
7240 divided by 838 is 8 with a remainder of 536.
Record the quotient 8 as the next digit in the result. 
Result so far: 60142.852028
If we subtract 6704 from 7240, we get 536.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5360, and continue the process.

Let's proceed to step 15:
5360 divided by 838 is 6 with a remainder of 332.
Put 6 as the next digit of the answer. 
Result so far: 60142.8520286
Deduct 5028 from 5360 and we're left with 332.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

Going ahead to step 16:
When dividing 3320 by 838, we get 3 with a remainder of 806.
The number 3 becomes the next digit in our result. 
Result so far: 60142.85202863
Subtracting 2514 from 3320 leaves us with 806.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8060, and continue the process.

The quotient of the division is 60142.85202863, and the remainder is 8.06e-07.