540875 divided by 59 
The aim is to understand the frequency of 59 in 540875.

Going ahead to step 1:
If we divide 5 by 59, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 59

Step 2:
59 can be fit into 54 0 times, resulting in a remainder of 54.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 54 leaves us with 54.
Include the next digit (0) from the dividend after 54, then repeat: 540 / 59

Step 3:
When dividing 540 by 59, we get 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we subtract 531 from 540, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 59

Step 4:
The number 59 fits into 98 1 times, leaving a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 91.0
The remainder is 39 after subtracting 59 from 98.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 59

Let's proceed to step 5:
397 divided by 59 is 6 with a remainder of 43.
The next digit of our result is 6. 
Result so far: 916.0
Deduct 354 from 397 and we're left with 43.
Fetch the next digit (5) from the dividend, attach it to 43 and continue: 435 / 59

Step 6:
If we divide 435 by 59, we get 7 and a remainder of 22.
The next digit of our result is 7. 
Result so far: 9167.0
If we take 413 away from 435, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 7:
The number 59 fits into 220 3 times, leaving a remainder of 43.
Write down 3 as next digit of the result. 
Result so far: 9167.3
Deduct 177 from 220 and we're left with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Let's proceed to step 8:
The number 59 fits into 430 7 times, leaving a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 9167.37
Subtracting 413 from 430 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 9:
When dividing 170 by 59, we get 2 with a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 9167.372
Subtract 118 from 170 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 10:
59 can be fit into 520 8 times, resulting in a remainder of 48.
The number 8 becomes the next digit in our result. 
Result so far: 9167.3728
If we take 472 away from 520, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 11:
If we divide 480 by 59, we get 8 and a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 9167.37288
Subtract 472 from 480 to 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.

The final outcome is 9167.37288, with a leftover of 8e-06.