We divide 5357 by 31
We want to divide 5357 by 31.

Going ahead to step 1:
31 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 31

On to step 2:
31 goes into 53 1 times with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 53, we get 22.
Append the next digit (5) from the dividend to 22 and continue with: 225 / 31

On to step 3:
The number 31 fits into 225 7 times, leaving a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 217 from 225 to get 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 31

Step 4:
31 can be fit into 87 2 times, resulting in a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 172.0
If we subtract 62 from 87, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 5:
31 goes into 250 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 172.8
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 6:
31 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 172.8
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 7:
If we divide 200 by 31, we get 6 and a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 172.806
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 172.8064
Subtract 124 from 140 to get 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 9:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 172.80645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 10:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 172.806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 11:
190 divided by 31 is 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 172.8064516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 12:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 172.80645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

After the division, we end up with 172.80645161 and a remainder of 9e-09.