We divide 79840 by 13
The aim is to understand the frequency of 13 in 79840.

Going ahead to step 1:
7 divided by 13 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 13

Moving on to step 2:
If we divide 79 by 13, we get 6 and a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 78 from 79, we get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 13

Moving on to step 3:
The number 13 fits into 18 1 times, leaving a remainder of 5.
The next digit of our result is 1. 
Result so far: 61.0
The remainder is 5 after subtracting 13 from 18.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 13

Advancing to step 4:
The number 13 fits into 54 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 614.0
Subtract 52 from 54 to get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 13

Let's proceed to step 5:
If we divide 20 by 13, we get 1 and a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 6141.0
Deduct 13 from 20 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 6:
When dividing 70 by 13, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 6141.5
If we take 65 away from 70, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
When dividing 50 by 13, we get 3 with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 6141.53
Deduct 39 from 50 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 8:
13 can be fit into 110 8 times, resulting in a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 6141.538
If we subtract 104 from 110, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 9:
The number 13 fits into 60 4 times, leaving a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 6141.5384
Subtract 52 from 60 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
If we divide 80 by 13, we get 6 and a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 6141.53846
Subtract 78 from 80 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 11:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 6141.538461
If we subtract 13 from 20, 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.

On to step 12:
When dividing 70 by 13, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 6141.5384615
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 13:
The number 13 fits into 50 3 times, leaving a remainder of 11.
The next digit of our result is 3. 
Result so far: 6141.53846153
If we subtract 39 from 50, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The quotient of the division is 6141.53846153, and the remainder is 1.1e-08.