We're dividing 13993 by 6 
The aim is to understand the frequency of 6 in 13993.

Advancing to step 1:
The number 6 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (3) from the dividend and append it to 1, then repeat: 13 / 6

Going ahead to step 2:
When dividing 13 by 6, we get 2 with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 1 after subtracting 12 from 13.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 6

Going ahead to step 3:
The number 6 fits into 19 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 23.0
If we take 18 away from 19, we end up with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 6

On to step 4:
6 can be fit into 19 3 times, resulting in a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 233.0
Deduct 18 from 19 and we're left with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 6

On to step 5:
6 goes into 13 2 times with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2332.0
Subtract 12 from 13 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 6:
If we divide 10 by 6, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 2332.1
The remainder is 4 after subtracting 6 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 2332.16
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 2332.166
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 2332.166 with a remaining 0.0004.