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

Advancing to step 1:
1 divided by 59 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 59

Advancing to step 2:
If we divide 12 by 59, we get 0 and a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 59

Going ahead to step 3:
59 goes into 125 2 times with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 118 away from 125, we end up with 7.
Grab the next digit (1) from the dividend, add it to 7, then carry on: 71 / 59

On to step 4:
71 divided by 59 is 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
If we take 59 away from 71, we end up with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 59

Advancing to step 5:
59 goes into 121 2 times with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 212.0
Subtract 118 from 121 to 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.

Advancing to step 6:
When dividing 30 by 59, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 212.0
Subtract 0 from 30 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
59 can be fit into 300 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 212.05
Deduct 295 from 300 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.

Let's proceed to step 8:
If we divide 50 by 59, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 212.05
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 9:
500 divided by 59 is 8 with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 212.0508
Subtracting 472 from 500 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 10:
The number 59 fits into 280 4 times, leaving a remainder of 44.
Write down 4 as next digit of the result. 
Result so far: 212.05084
If we subtract 236 from 280, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 11:
59 can be fit into 440 7 times, resulting in a remainder of 27.
Write down 7 as next digit of the result. 
Result so far: 212.050847
If we take 413 away from 440, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Step 12:
59 can be fit into 270 4 times, resulting in a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 212.0508474
If we take 236 away from 270, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 13:
When dividing 340 by 59, we get 5 with a remainder of 45.
Put 5 as the next digit of the answer. 
Result so far: 212.05084745
Deduct 295 from 340 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

After the division, we end up with 212.05084745 and a remainder of 4.5e-08.