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

Moving on to step 1:
When dividing 5 by 59, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 59

Going ahead to step 2:
54 divided by 59 is 0 with a remainder of 54.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 54 to get 54.
Append the next digit (0) from the dividend to 54 and continue with: 540 / 59

Advancing to step 3:
If we divide 540 by 59, we get 9 and a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 531 from 540 leaves us with 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 59

Going ahead to step 4:
99 divided by 59 is 1 with a remainder of 40.
Use 1 as the next digit of our solution. 
Result so far: 91.0
Subtracting 59 from 99 leaves us with 40.
Fetch the next digit (4) from the dividend, attach it to 40 and continue: 404 / 59

On to step 5:
59 goes into 404 6 times with a remainder of 50.
The next digit of our result is 6. 
Result so far: 916.0
Subtract 354 from 404 to get 50.
Include the next digit (6) from the dividend after 50, then repeat: 506 / 59

On to step 6:
59 can be fit into 506 8 times, resulting in a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 9168.0
If we subtract 472 from 506, we get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
When dividing 340 by 59, we get 5 with a remainder of 45.
Write down 5 as next digit of the result. 
Result so far: 9168.5
The remainder is 45 after subtracting 295 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Moving on to step 8:
59 goes into 450 7 times with a remainder of 37.
Write down 7 as next digit of the result. 
Result so far: 9168.57
If we subtract 413 from 450, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 9:
The number 59 fits into 370 6 times, leaving a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 9168.576
Subtracting 354 from 370 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 10:
59 goes into 160 2 times with a remainder of 42.
The next digit of our result is 2. 
Result so far: 9168.5762
The remainder is 42 after subtracting 118 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 11:
If we divide 420 by 59, we get 7 and a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 9168.57627
Deduct 413 from 420 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 12:
70 divided by 59 is 1 with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 9168.576271
The remainder is 11 after subtracting 59 from 70.
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 13:
59 can be fit into 110 1 times, resulting in a remainder of 51.
The next digit of our result is 1. 
Result so far: 9168.5762711
If we subtract 59 from 110, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

The quotient of the division is 9168.5762711, and the remainder is 5.1e-07.