We're dividing 318161 by 57 
We want to figure out the number of times 318161 can be divided by 57.

On to step 1:
57 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 57

Going ahead to step 2:
57 goes into 31 0 times with a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 57

Going ahead to step 3:
318 divided by 57 is 5 with a remainder of 33.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 285 from 318 and we're left with 33.
Grab the next digit (1) from the dividend, add it to 33, then carry on: 331 / 57

Going ahead to step 4:
The number 57 fits into 331 5 times, leaving a remainder of 46.
Put 5 as the next digit of the answer. 
Result so far: 55.0
Subtract 285 from 331 to get 46.
Include the next digit (6) from the dividend after 46, then repeat: 466 / 57

Moving on to step 5:
When dividing 466 by 57, we get 8 with a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 558.0
If we subtract 456 from 466, we get 10.
Grab the next digit (1) from the dividend, add it to 10, then carry on: 101 / 57

Advancing to step 6:
If we divide 101 by 57, we get 1 and a remainder of 44.
The next digit of our result is 1. 
Result so far: 5581.0
Subtract 57 from 101 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 7:
57 goes into 440 7 times with a remainder of 41.
Write down 7 as next digit of the result. 
Result so far: 5581.7
Subtract 399 from 440 to get 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Going ahead to step 8:
If we divide 410 by 57, we get 7 and a remainder of 11.
The next digit of our result is 7. 
Result so far: 5581.77
Subtracting 399 from 410 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

The final outcome is 5581.77, with a leftover of 0.011.