Let's divide 502117 by 14
The aim is to understand the frequency of 14 in 502117.

Going ahead to step 1:
If we divide 5 by 14, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 14

Advancing to step 2:
14 can be fit into 50 3 times, resulting in a remainder of 8.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 42 from 50 and we're left with 8.
Fetch the next digit (2) from the dividend, attach it to 8 and continue: 82 / 14

Step 3:
When dividing 82 by 14, we get 5 with a remainder of 12.
The number 5 becomes the next digit in our result. 
Result so far: 35.0
The remainder is 12 after subtracting 70 from 82.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 14

Going ahead to step 4:
14 goes into 121 8 times with a remainder of 9.
The number 8 becomes the next digit in our result. 
Result so far: 358.0
The remainder is 9 after subtracting 112 from 121.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 14

Step 5:
91 divided by 14 is 6 with a remainder of 7.
Record the quotient 6 as the next digit in the result. 
Result so far: 3586.0
Deduct 84 from 91 and we're left with 7.
Take the next digit (7) from the dividend and append it to 7, then repeat: 77 / 14

On to step 6:
The number 14 fits into 77 5 times, leaving a remainder of 7.
Record the quotient 5 as the next digit in the result. 
Result so far: 35865.0
If we subtract 70 from 77, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
If we divide 70 by 14, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 35865.5
If we take 70 away from 70, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 14 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 35865.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
When dividing 0 by 14, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 35865.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 35865.5, with a leftover of 0.0.