Let's divide 541284 by 31
Let's see how many times 31 fits into 541284.

Let's proceed to step 1:
5 divided by 31 is 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.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 31

On to step 2:
54 divided by 31 is 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 31 from 54 and we're left with 23.
Take the next digit (1) from the dividend and append it to 23, then repeat: 231 / 31

Going ahead to step 3:
The number 31 fits into 231 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 17.0
The remainder is 14 after subtracting 217 from 231.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 31

Moving on to step 4:
If we divide 142 by 31, we get 4 and a remainder of 18.
Write down 4 as next digit of the result. 
Result so far: 174.0
If we take 124 away from 142, we end up with 18.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 31

Let's proceed to step 5:
The number 31 fits into 188 6 times, leaving a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 1746.0
The remainder is 2 after subtracting 186 from 188.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 31

Step 6:
31 goes into 24 0 times with a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 17460.0
If we take 0 away from 24, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 7:
31 goes into 240 7 times with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 17460.7
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 8:
When dividing 230 by 31, we get 7 with a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 17460.77
Subtract 217 from 230 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 17460.77, with a leftover of 0.013.