541071 divided by 31 
We're looking to find how many times 31 goes into 541071.

Advancing to step 1:
5 divided by 31 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 31

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
Subtract 31 from 54 to get 23.
Bring next digit (1) of the dividend behind the 23 and repeat the process: 231 / 31

Advancing to step 3:
31 can be fit into 231 7 times, resulting in a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Subtract 217 from 231 to get 14.
Append the next digit (0) from the dividend to 14 and continue with: 140 / 31

Moving on to step 4:
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: 174.0
If we subtract 124 from 140, we get 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 31

Let's proceed to step 5:
31 can be fit into 167 5 times, resulting in a remainder of 12.
The next digit of our result is 5. 
Result so far: 1745.0
If we subtract 155 from 167, we get 12.
Append the next digit (1) from the dividend to 12 and continue with: 121 / 31

Going ahead to step 6:
31 can be fit into 121 3 times, resulting in a remainder of 28.
The next digit of our result is 3. 
Result so far: 17453.0
The remainder is 28 after subtracting 93 from 121.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 7:
If we divide 280 by 31, we get 9 and a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 17453.9
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 8:
31 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 17453.9
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
If we divide 100 by 31, we get 3 and a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 17453.903
If we take 93 away from 100, 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.

Advancing to step 10:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 17453.9032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 11:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 17453.90322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 17453.90322 with a balance of 1.8e-05.