We're dividing 313081 by 57 
The aim is to understand the frequency of 57 in 313081.

On to step 1:
When dividing 3 by 57, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 57

Step 2:
57 goes into 31 0 times with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 57

Moving on to step 3:
The number 57 fits into 313 5 times, leaving a remainder of 28.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 285 away from 313, we end up with 28.
Fetch the next digit (0) from the dividend, attach it to 28 and continue: 280 / 57

Advancing to step 4:
57 can be fit into 280 4 times, resulting in a remainder of 52.
Write down 4 as next digit of the result. 
Result so far: 54.0
Subtract 228 from 280 to get 52.
Fetch the next digit (8) from the dividend, attach it to 52 and continue: 528 / 57

Going ahead to step 5:
528 divided by 57 is 9 with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 549.0
Deduct 513 from 528 and we're left with 15.
Bring next digit (1) of the dividend behind the 15 and repeat the process: 151 / 57

On to step 6:
57 goes into 151 2 times with a remainder of 37.
The next digit of our result is 2. 
Result so far: 5492.0
Subtract 114 from 151 to 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.

On to step 7:
370 divided by 57 is 6 with a remainder of 28.
Put 6 as the next digit of the answer. 
Result so far: 5492.6
Deduct 342 from 370 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 8:
If we divide 280 by 57, we get 4 and a remainder of 52.
The next digit of our result is 4. 
Result so far: 5492.64
Subtract 228 from 280 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.

Step 9:
520 divided by 57 is 9 with a remainder of 7.
The next digit of our result is 9. 
Result so far: 5492.649
If we take 513 away from 520, we end up 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.

Step 10:
When dividing 70 by 57, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 5492.6491
Deduct 57 from 70 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 11:
The number 57 fits into 130 2 times, leaving a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 5492.64912
Deduct 114 from 130 and we're left 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.

Going ahead to step 12:
57 goes into 160 2 times with a remainder of 46.
Use 2 as the next digit of our solution. 
Result so far: 5492.649122
Subtract 114 from 160 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

The final outcome is 5492.649122, with a leftover of 4.6e-06.