Let's divide 393157 by 59
The aim is to understand the frequency of 59 in 393157.

Advancing to step 1:
If we divide 3 by 59, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 59

Going ahead to step 2:
39 divided by 59 is 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Take the next digit (3) from the dividend and append it to 39, then repeat: 393 / 59

Going ahead to step 3:
If we divide 393 by 59, we get 6 and a remainder of 39.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we subtract 354 from 393, we get 39.
Take the next digit (1) from the dividend and append it to 39, then repeat: 391 / 59

Step 4:
59 goes into 391 6 times with a remainder of 37.
Put 6 as the next digit of the answer. 
Result so far: 66.0
Subtracting 354 from 391 leaves us with 37.
Fetch the next digit (5) from the dividend, attach it to 37 and continue: 375 / 59

Advancing to step 5:
The number 59 fits into 375 6 times, leaving a remainder of 21.
Put 6 as the next digit of the answer. 
Result so far: 666.0
The remainder is 21 after subtracting 354 from 375.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 59

Step 6:
The number 59 fits into 217 3 times, leaving a remainder of 40.
Record the quotient 3 as the next digit in the result. 
Result so far: 6663.0
The remainder is 40 after subtracting 177 from 217.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 7:
59 can be fit into 400 6 times, resulting in a remainder of 46.
Write down 6 as next digit of the result. 
Result so far: 6663.6
The remainder is 46 after subtracting 354 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

On to step 8:
The number 59 fits into 460 7 times, leaving a remainder of 47.
Put 7 as the next digit of the answer. 
Result so far: 6663.67
The remainder is 47 after subtracting 413 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

On to step 9:
If we divide 470 by 59, we get 7 and a remainder of 57.
Write down 7 as next digit of the result. 
Result so far: 6663.677
Subtract 413 from 470 to get 57.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

After the division, we end up with 6663.677 and a remainder of 0.0057.