790022 divided by 13 
The aim is to understand the frequency of 13 in 790022.

On to step 1:
When dividing 7 by 13, we get 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 13

On to step 2:
The number 13 fits into 79 6 times, leaving a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 78 from 79, we get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 13

Moving on to step 3:
If we divide 10 by 13, we get 0 and a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
Subtract 0 from 10 to get 10.
Append the next digit (0) from the dividend to 10 and continue with: 100 / 13

Moving on to step 4:
13 goes into 100 7 times with a remainder of 9.
Use 7 as the next digit of our solution. 
Result so far: 607.0
If we subtract 91 from 100, we get 9.
Append the next digit (2) from the dividend to 9 and continue with: 92 / 13

Step 5:
When dividing 92 by 13, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 6077.0
Subtract 91 from 92 to get 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 13

On to step 6:
13 goes into 12 0 times with a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 60770.0
If we take 0 away from 12, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 7:
If we divide 120 by 13, we get 9 and a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 60770.9
Deduct 117 from 120 and we're left 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.

Step 8:
13 can be fit into 30 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 60770.92
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 9:
13 goes into 40 3 times with a remainder of 1.
The next digit of our result is 3. 
Result so far: 60770.923
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.

On to step 10:
10 divided by 13 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 60770.923
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 11:
If we divide 100 by 13, we get 7 and a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 60770.92307
If we take 91 away from 100, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 12:
When dividing 90 by 13, we get 6 with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 60770.923076
Subtracting 78 from 90 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
13 goes into 120 9 times with a remainder of 3.
Use 9 as the next digit of our solution. 
Result so far: 60770.9230769
Subtracting 117 from 120 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.

Moving on to step 14:
If we divide 30 by 13, we get 2 and a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 60770.92307692
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.

The final result is 60770.92307692 with a remainder of 4e-09.