We look at the division of 59317591 by 477 
The aim is to understand the frequency of 477 in 59317591.

Advancing to step 1:
477 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 477

On to step 2:
59 divided by 477 is 0 with a remainder of 59.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 59 after subtracting 0 from 59.
Grab the next digit (3) from the dividend, add it to 59, then carry on: 593 / 477

On to step 3:
477 can be fit into 593 1 times, resulting in a remainder of 116.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 477 from 593, we get 116.
Grab the next digit (1) from the dividend, add it to 116, then carry on: 1161 / 477

Going ahead to step 4:
If we divide 1161 by 477, we get 2 and a remainder of 207.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we take 954 away from 1161, we end up with 207.
Grab the next digit (7) from the dividend, add it to 207, then carry on: 2077 / 477

Advancing to step 5:
2077 divided by 477 is 4 with a remainder of 169.
The next digit of our result is 4. 
Result so far: 124.0
The remainder is 169 after subtracting 1908 from 2077.
Bring next digit (5) of the dividend behind the 169 and repeat the process: 1695 / 477

Moving on to step 6:
If we divide 1695 by 477, we get 3 and a remainder of 264.
The number 3 becomes the next digit in our result. 
Result so far: 1243.0
If we subtract 1431 from 1695, we get 264.
Bring next digit (9) of the dividend behind the 264 and repeat the process: 2649 / 477

Step 7:
477 goes into 2649 5 times with a remainder of 264.
The number 5 becomes the next digit in our result. 
Result so far: 12435.0
The remainder is 264 after subtracting 2385 from 2649.
Fetch the next digit (1) from the dividend, attach it to 264 and continue: 2641 / 477

On to step 8:
When dividing 2641 by 477, we get 5 with a remainder of 256.
The next digit of our result is 5. 
Result so far: 124355.0
Subtracting 2385 from 2641 leaves us with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Step 9:
If we divide 2560 by 477, we get 5 and a remainder of 175.
Record the quotient 5 as the next digit in the result. 
Result so far: 124355.5
The remainder is 175 after subtracting 2385 from 2560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1750, and continue the process.

On to step 10:
477 can be fit into 1750 3 times, resulting in a remainder of 319.
Write down 3 as next digit of the result. 
Result so far: 124355.53
Deduct 1431 from 1750 and we're left with 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

On to step 11:
477 can be fit into 3190 6 times, resulting in a remainder of 328.
Use 6 as the next digit of our solution. 
Result so far: 124355.536
If we subtract 2862 from 3190, we get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Step 12:
477 can be fit into 3280 6 times, resulting in a remainder of 418.
Put 6 as the next digit of the answer. 
Result so far: 124355.5366
Deduct 2862 from 3280 and we're left with 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

The final outcome is 124355.5366, with a leftover of 0.00418.