545767 ÷ 31 
Our goal is to divide 545767 by 31.

Step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 31

Going ahead to step 2:
When dividing 54 by 31, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 54 and we're left with 23.
Include the next digit (5) from the dividend after 23, then repeat: 235 / 31

Advancing to step 3:
235 divided by 31 is 7 with a remainder of 18.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Subtract 217 from 235 to get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 31

On to step 4:
If we divide 187 by 31, we get 6 and a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 176.0
If we take 186 away from 187, we end up with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 31

Advancing to step 5:
The number 31 fits into 16 0 times, leaving a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 1760.0
The remainder is 16 after subtracting 0 from 16.
Fetch the next digit (7) from the dividend, attach it to 16 and continue: 167 / 31

Advancing to step 6:
31 goes into 167 5 times with a remainder of 12.
Record the quotient 5 as the next digit in the result. 
Result so far: 17605.0
If we subtract 155 from 167, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 7:
When dividing 120 by 31, we get 3 with a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 17605.3
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 8:
31 goes into 270 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 17605.38
Subtract 248 from 270 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 9:
31 goes into 220 7 times with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 17605.387
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
31 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 17605.387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
31 goes into 300 9 times with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 17605.38709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 12:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 17605.387096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 17605.3870967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 14:
31 goes into 230 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 17605.38709677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 17605.38709677 and a remainder of 1.3e-08.