We're dividing 333882 by 13 
The aim is to understand the frequency of 13 in 333882.

Step 1:
If we divide 3 by 13, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 13

Advancing to step 2:
When dividing 33 by 13, we get 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 26 from 33, we get 7.
Take the next digit (3) from the dividend and append it to 7, then repeat: 73 / 13

Step 3:
If we divide 73 by 13, we get 5 and a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
The remainder is 8 after subtracting 65 from 73.
Include the next digit (8) from the dividend after 8, then repeat: 88 / 13

Moving on to step 4:
13 goes into 88 6 times with a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 256.0
Subtracting 78 from 88 leaves us with 10.
Fetch the next digit (8) from the dividend, attach it to 10 and continue: 108 / 13

On to step 5:
13 can be fit into 108 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 2568.0
Subtracting 104 from 108 leaves us with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 13

Going ahead to step 6:
The number 13 fits into 42 3 times, leaving a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 25683.0
Subtracting 39 from 42 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
13 goes into 30 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 25683.2
If we subtract 26 from 30, we 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:
When dividing 40 by 13, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 25683.23
The remainder is 1 after subtracting 39 from 40.
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 9:
If we divide 10 by 13, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 25683.23
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
13 goes into 100 7 times with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 25683.2307
Subtract 91 from 100 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 11:
90 divided by 13 is 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 25683.23076
The remainder is 12 after subtracting 78 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 12:
13 goes into 120 9 times with a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 25683.230769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 13:
30 divided by 13 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 25683.2307692
If we take 26 away from 30, we end up 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.

On to step 14:
If we divide 40 by 13, we get 3 and a remainder of 1.
The next digit of our result is 3. 
Result so far: 25683.23076923
Subtract 39 from 40 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.

After the division, we end up with 25683.23076923 and a remainder of 1e-09.