We look at the division of 512252 by 59 
The aim is to understand the frequency of 59 in 512252.

Let's proceed to step 1:
The number 59 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 59

Let's proceed to step 2:
59 can be fit into 51 0 times, resulting in a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Grab the next digit (2) from the dividend, add it to 51, then carry on: 512 / 59

On to step 3:
59 goes into 512 8 times with a remainder of 40.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 472 from 512 to get 40.
Bring next digit (2) of the dividend behind the 40 and repeat the process: 402 / 59

Moving on to step 4:
When dividing 402 by 59, we get 6 with a remainder of 48.
Put 6 as the next digit of the answer. 
Result so far: 86.0
The remainder is 48 after subtracting 354 from 402.
Include the next digit (5) from the dividend after 48, then repeat: 485 / 59

Moving on to step 5:
If we divide 485 by 59, we get 8 and a remainder of 13.
Record the quotient 8 as the next digit in the result. 
Result so far: 868.0
Subtract 472 from 485 to get 13.
Grab the next digit (2) from the dividend, add it to 13, then carry on: 132 / 59

Going ahead to step 6:
132 divided by 59 is 2 with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 8682.0
If we take 118 away from 132, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
If we divide 140 by 59, we get 2 and a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 8682.2
Subtracting 118 from 140 leaves us 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 8:
220 divided by 59 is 3 with a remainder of 43.
The number 3 becomes the next digit in our result. 
Result so far: 8682.23
If we subtract 177 from 220, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Step 9:
If we divide 430 by 59, we get 7 and a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 8682.237
If we take 413 away from 430, we end up 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.

Moving on to step 10:
The number 59 fits into 170 2 times, leaving a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 8682.2372
Deduct 118 from 170 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 11:
If we divide 520 by 59, we get 8 and a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 8682.23728
The remainder is 48 after subtracting 472 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

On to step 12:
The number 59 fits into 480 8 times, leaving a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 8682.237288
Subtracting 472 from 480 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 8682.237288 and a remainder of 8e-07.