We look at the division of 50495293 by 340 
The aim is to understand the frequency of 340 in 50495293.

Step 1:
340 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
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 / 340

On to step 2:
If we divide 50 by 340, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Bring next digit (4) of the dividend behind the 50 and repeat the process: 504 / 340

On to step 3:
The number 340 fits into 504 1 times, leaving a remainder of 164.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 340 from 504 and we're left with 164.
Take the next digit (9) from the dividend and append it to 164, then repeat: 1649 / 340

Moving on to step 4:
If we divide 1649 by 340, we get 4 and a remainder of 289.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtracting 1360 from 1649 leaves us with 289.
Fetch the next digit (5) from the dividend, attach it to 289 and continue: 2895 / 340

Moving on to step 5:
When dividing 2895 by 340, we get 8 with a remainder of 175.
Record the quotient 8 as the next digit in the result. 
Result so far: 148.0
If we subtract 2720 from 2895, we get 175.
Take the next digit (2) from the dividend and append it to 175, then repeat: 1752 / 340

On to step 6:
340 goes into 1752 5 times with a remainder of 52.
Use 5 as the next digit of our solution. 
Result so far: 1485.0
Subtract 1700 from 1752 to get 52.
Take the next digit (9) from the dividend and append it to 52, then repeat: 529 / 340

Going ahead to step 7:
When dividing 529 by 340, we get 1 with a remainder of 189.
Use 1 as the next digit of our solution. 
Result so far: 14851.0
Subtracting 340 from 529 leaves us with 189.
Fetch the next digit (3) from the dividend, attach it to 189 and continue: 1893 / 340

Advancing to step 8:
340 goes into 1893 5 times with a remainder of 193.
The number 5 becomes the next digit in our result. 
Result so far: 148515.0
Deduct 1700 from 1893 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 9:
340 goes into 1930 5 times with a remainder of 230.
Record the quotient 5 as the next digit in the result. 
Result so far: 148515.5
If we subtract 1700 from 1930, we get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Advancing to step 10:
If we divide 2300 by 340, we get 6 and a remainder of 260.
The number 6 becomes the next digit in our result. 
Result so far: 148515.56
Subtract 2040 from 2300 to get 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

On to step 11:
2600 divided by 340 is 7 with a remainder of 220.
The next digit of our result is 7. 
Result so far: 148515.567
If we subtract 2380 from 2600, we get 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Moving on to step 12:
The number 340 fits into 2200 6 times, leaving a remainder of 160.
Use 6 as the next digit of our solution. 
Result so far: 148515.5676
Deduct 2040 from 2200 and we're left with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Going ahead to step 13:
If we divide 1600 by 340, we get 4 and a remainder of 240.
The number 4 becomes the next digit in our result. 
Result so far: 148515.56764
Subtracting 1360 from 1600 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.

Step 14:
2400 divided by 340 is 7 with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 148515.567647
Subtracting 2380 from 2400 leaves us 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.

Step 15:
The number 340 fits into 200 0 times, leaving a remainder of 200.
The next digit of our result is 0. 
Result so far: 148515.567647
If we take 0 away from 200, we end up with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

On to step 16:
The number 340 fits into 2000 5 times, leaving a remainder of 300.
The next digit of our result is 5. 
Result so far: 148515.56764705
Subtracting 1700 from 2000 leaves us with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

The final outcome is 148515.56764705, with a leftover of 3e-07.