Let's divide 598252 by 13
The aim is to understand the frequency of 13 in 598252.

On to step 1:
When dividing 5 by 13, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 13

Advancing to step 2:
The number 13 fits into 59 4 times, leaving a remainder of 7.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 7 after subtracting 52 from 59.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 13

On to step 3:
13 can be fit into 78 6 times, resulting in a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 46.0
Deduct 78 from 78 and we're left with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 13

Going ahead to step 4:
When dividing 2 by 13, we get 0 with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 460.0
Deduct 0 from 2 and we're left with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 13

Going ahead to step 5:
13 goes into 25 1 times with a remainder of 12.
The next digit of our result is 1. 
Result so far: 4601.0
Subtract 13 from 25 to get 12.
Include the next digit (2) from the dividend after 12, then repeat: 122 / 13

Moving on to step 6:
When dividing 122 by 13, we get 9 with a remainder of 5.
The number 9 becomes the next digit in our result. 
Result so far: 46019.0
If we subtract 117 from 122, 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.

On to step 7:
13 can be fit into 50 3 times, resulting in a remainder of 11.
Put 3 as the next digit of the answer. 
Result so far: 46019.3
If we take 39 away from 50, we end up 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 goes into 110 8 times with a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 46019.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.

Advancing to step 9:
The number 13 fits into 60 4 times, leaving a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 46019.384
Deduct 52 from 60 and we're left 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.

On to step 10:
If we divide 80 by 13, we get 6 and a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 46019.3846
Deduct 78 from 80 and we're left 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.

Moving on to step 11:
If we divide 20 by 13, we get 1 and a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 46019.38461
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.

Going ahead to step 12:
When dividing 70 by 13, we get 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 46019.384615
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.

Step 13:
The number 13 fits into 50 3 times, leaving a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 46019.3846153
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.

Step 14:
13 goes into 110 8 times with a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 46019.38461538
Subtracting 104 from 110 leaves us 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.

The quotient of the division is 46019.38461538, and the remainder is 6e-09.