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

Step 1:
5 divided by 13 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 13

On to step 2:
The number 13 fits into 59 4 times, leaving a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 52 from 59 and we're left with 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 13

Going ahead to step 3:
When dividing 73 by 13, we get 5 with a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 45.0
The remainder is 8 after subtracting 65 from 73.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 13

Step 4:
When dividing 83 by 13, we get 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 456.0
The remainder is 5 after subtracting 78 from 83.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 13

On to step 5:
59 divided by 13 is 4 with a remainder of 7.
The next digit of our result is 4. 
Result so far: 4564.0
Deduct 52 from 59 and we're left with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 13

Going ahead to step 6:
When dividing 78 by 13, we get 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 45646.0
If we subtract 78 from 78, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
The number 13 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 45646.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
13 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 45646.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 45646.0 with a remainder of 0.0.