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

Let's proceed to step 1:
The number 13 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 13

Let's proceed to step 2:
79 divided by 13 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 6.0
Deduct 78 from 79 and we're left with 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 13

Going ahead to step 3:
13 can be fit into 17 1 times, resulting in a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 61.0
Subtracting 13 from 17 leaves us with 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 13

Moving on to step 4:
13 goes into 48 3 times with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 613.0
If we take 39 away from 48, we end up with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 13

Advancing to step 5:
13 can be fit into 96 7 times, resulting in a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 6137.0
Deduct 91 from 96 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 13

Advancing to step 6:
If we divide 50 by 13, we get 3 and a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 61373.0
Subtracting 39 from 50 leaves us 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.

Going ahead to step 7:
110 divided by 13 is 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 61373.8
If we take 104 away from 110, we end up with 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 8:
60 divided by 13 is 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 61373.84
Subtracting 52 from 60 leaves us with 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 9:
If we divide 80 by 13, we get 6 and a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 61373.846
Subtracting 78 from 80 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 10:
If we divide 20 by 13, we get 1 and a remainder of 7.
The next digit of our result is 1. 
Result so far: 61373.8461
The remainder is 7 after subtracting 13 from 20.
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 11:
70 divided by 13 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 61373.84615
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.

Step 12:
When dividing 50 by 13, we get 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 61373.846153
The remainder is 11 after subtracting 39 from 50.
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 13:
13 goes into 110 8 times with a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 61373.8461538
Subtract 104 from 110 to 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.

On to step 14:
60 divided by 13 is 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 61373.84615384
The remainder is 8 after subtracting 52 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 61373.84615384 with a remainder of 8e-09.