We're dividing 50397305 by 678 
The aim is to understand the frequency of 678 in 50397305.

Step 1:
When dividing 5 by 678, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 678

On to step 2:
The number 678 fits into 50 0 times, leaving a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Take the next digit (3) from the dividend and append it to 50, then repeat: 503 / 678

Going ahead to step 3:
678 goes into 503 0 times with a remainder of 503.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 503 leaves us with 503.
Include the next digit (9) from the dividend after 503, then repeat: 5039 / 678

Going ahead to step 4:
5039 divided by 678 is 7 with a remainder of 293.
Write down 7 as next digit of the result. 
Result so far: 7.0
The remainder is 293 after subtracting 4746 from 5039.
Append the next digit (7) from the dividend to 293 and continue with: 2937 / 678

Let's proceed to step 5:
678 can be fit into 2937 4 times, resulting in a remainder of 225.
The number 4 becomes the next digit in our result. 
Result so far: 74.0
Subtracting 2712 from 2937 leaves us with 225.
Fetch the next digit (3) from the dividend, attach it to 225 and continue: 2253 / 678

Let's proceed to step 6:
2253 divided by 678 is 3 with a remainder of 219.
Write down 3 as next digit of the result. 
Result so far: 743.0
Deduct 2034 from 2253 and we're left with 219.
Grab the next digit (0) from the dividend, add it to 219, then carry on: 2190 / 678

Going ahead to step 7:
When dividing 2190 by 678, we get 3 with a remainder of 156.
Record the quotient 3 as the next digit in the result. 
Result so far: 7433.0
The remainder is 156 after subtracting 2034 from 2190.
Grab the next digit (5) from the dividend, add it to 156, then carry on: 1565 / 678

Step 8:
If we divide 1565 by 678, we get 2 and a remainder of 209.
Use 2 as the next digit of our solution. 
Result so far: 74332.0
Subtracting 1356 from 1565 leaves us with 209.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2090, and continue the process.

Let's proceed to step 9:
678 goes into 2090 3 times with a remainder of 56.
Record the quotient 3 as the next digit in the result. 
Result so far: 74332.3
If we take 2034 away from 2090, we end up with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 10:
678 goes into 560 0 times with a remainder of 560.
The next digit of our result is 0. 
Result so far: 74332.3
Subtract 0 from 560 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Going ahead to step 11:
The number 678 fits into 5600 8 times, leaving a remainder of 176.
Put 8 as the next digit of the answer. 
Result so far: 74332.308
If we subtract 5424 from 5600, we get 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

On to step 12:
The number 678 fits into 1760 2 times, leaving a remainder of 404.
Write down 2 as next digit of the result. 
Result so far: 74332.3082
Subtract 1356 from 1760 to get 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Going ahead to step 13:
The number 678 fits into 4040 5 times, leaving a remainder of 650.
Use 5 as the next digit of our solution. 
Result so far: 74332.30825
If we subtract 3390 from 4040, we get 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6500, and continue the process.

Step 14:
6500 divided by 678 is 9 with a remainder of 398.
Record the quotient 9 as the next digit in the result. 
Result so far: 74332.308259
Subtracting 6102 from 6500 leaves us with 398.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3980, and continue the process.

Step 15:
678 goes into 3980 5 times with a remainder of 590.
The next digit of our result is 5. 
Result so far: 74332.3082595
Deduct 3390 from 3980 and we're left with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Step 16:
5900 divided by 678 is 8 with a remainder of 476.
Record the quotient 8 as the next digit in the result. 
Result so far: 74332.30825958
If we take 5424 away from 5900, we end up with 476.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4760, and continue the process.

The quotient of the division is 74332.30825958, and the remainder is 4.76e-07.