We're dividing 317590 by 59 
The aim is to understand the frequency of 59 in 317590.

Step 1:
59 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 59

On to step 2:
The number 59 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 59

Going ahead to step 3:
59 goes into 317 5 times with a remainder of 22.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 295 from 317, we get 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 59

On to step 4:
If we divide 225 by 59, we get 3 and a remainder of 48.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
Subtract 177 from 225 to get 48.
Bring next digit (9) of the dividend behind the 48 and repeat the process: 489 / 59

Advancing to step 5:
489 divided by 59 is 8 with a remainder of 17.
Put 8 as the next digit of the answer. 
Result so far: 538.0
If we take 472 away from 489, we end up with 17.
Grab the next digit (0) from the dividend, add it to 17, then carry on: 170 / 59

Let's proceed to step 6:
59 goes into 170 2 times with a remainder of 52.
The next digit of our result is 2. 
Result so far: 5382.0
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.

Advancing to step 7:
520 divided by 59 is 8 with a remainder of 48.
Record the quotient 8 as the next digit in the result. 
Result so far: 5382.8
Subtract 472 from 520 to get 48.
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 8:
480 divided by 59 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 5382.88
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 5382.88, with a leftover of 0.008.