523177 ÷ 13 
The aim is to understand the frequency of 13 in 523177.

On to step 1:
The number 13 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 13

Advancing to step 2:
When dividing 52 by 13, we get 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtract 52 from 52 to get 0.
Grab the next digit (3) from the dividend, add it to 0, then carry on: 3 / 13

Advancing to step 3:
3 divided by 13 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 40.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 13

Let's proceed to step 4:
If we divide 31 by 13, we get 2 and a remainder of 5.
The next digit of our result is 2. 
Result so far: 402.0
If we take 26 away from 31, we end up with 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 13

Advancing to step 5:
57 divided by 13 is 4 with a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 4024.0
The remainder is 5 after subtracting 52 from 57.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 13

On to step 6:
The number 13 fits into 57 4 times, leaving a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 40244.0
If we take 52 away from 57, 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:
50 divided by 13 is 3 with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 40244.3
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.

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: 40244.38
The remainder is 6 after subtracting 104 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 9:
60 divided by 13 is 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 40244.384
If we subtract 52 from 60, we 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.

Step 10:
13 goes into 80 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 40244.3846
If we take 78 away from 80, we end up 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 11:
20 divided by 13 is 1 with a remainder of 7.
The next digit of our result is 1. 
Result so far: 40244.38461
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.

On to step 12:
13 goes into 70 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 40244.384615
Deduct 65 from 70 and we're left 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 13:
When dividing 50 by 13, we get 3 with a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 40244.3846153
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.

On to step 14:
When dividing 110 by 13, we get 8 with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 40244.38461538
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.

The final outcome is 40244.38461538, with a leftover of 6e-09.