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

Moving on to step 1:
If we divide 9 by 13, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 13

Moving on to step 2:
13 can be fit into 94 7 times, resulting in a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we subtract 91 from 94, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 13

On to step 3:
The number 13 fits into 37 2 times, leaving a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 72.0
Subtract 26 from 37 to get 11.
Include the next digit (1) from the dividend after 11, then repeat: 111 / 13

Advancing to step 4:
The number 13 fits into 111 8 times, leaving a remainder of 7.
Put 8 as the next digit of the answer. 
Result so far: 728.0
Deduct 104 from 111 and we're left with 7.
Grab the next digit (5) from the dividend, add it to 7, then carry on: 75 / 13

Going ahead to step 5:
When dividing 75 by 13, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 7285.0
Subtracting 65 from 75 leaves us with 10.
Append the next digit (7) from the dividend to 10 and continue with: 107 / 13

Moving on to step 6:
When dividing 107 by 13, we get 8 with a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 72858.0
If we subtract 104 from 107, 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.

Moving on to step 7:
13 goes into 30 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 72858.2
Subtracting 26 from 30 leaves us 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.

Moving on to step 8:
40 divided by 13 is 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 72858.23
If we subtract 39 from 40, we 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.

Going ahead to step 9:
13 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 72858.23
If we take 0 away from 10, we end up 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.

Going ahead to step 10:
If we divide 100 by 13, we get 7 and a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 72858.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.

Moving on to step 11:
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: 72858.23076
If we take 78 away from 90, 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.

Moving on to step 12:
If we divide 120 by 13, we get 9 and a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 72858.230769
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 13:
When dividing 30 by 13, we get 2 with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 72858.2307692
The remainder is 4 after subtracting 26 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
13 can be fit into 40 3 times, resulting in a remainder of 1.
The next digit of our result is 3. 
Result so far: 72858.23076923
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.

The final outcome is 72858.23076923, with a leftover of 1e-09.