We're dividing 31586937 by 541 
We're looking to find how many times 541 goes into 31586937.

On to step 1:
When dividing 3 by 541, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 541

On to step 2:
The number 541 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (5) from the dividend and append it to 31, then repeat: 315 / 541

Moving on to step 3:
The number 541 fits into 315 0 times, leaving a remainder of 315.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 315, we end up with 315.
Fetch the next digit (8) from the dividend, attach it to 315 and continue: 3158 / 541

Going ahead to step 4:
When dividing 3158 by 541, we get 5 with a remainder of 453.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Deduct 2705 from 3158 and we're left with 453.
Take the next digit (6) from the dividend and append it to 453, then repeat: 4536 / 541

On to step 5:
The number 541 fits into 4536 8 times, leaving a remainder of 208.
The number 8 becomes the next digit in our result. 
Result so far: 58.0
The remainder is 208 after subtracting 4328 from 4536.
Fetch the next digit (9) from the dividend, attach it to 208 and continue: 2089 / 541

Moving on to step 6:
541 goes into 2089 3 times with a remainder of 466.
Use 3 as the next digit of our solution. 
Result so far: 583.0
Subtracting 1623 from 2089 leaves us with 466.
Bring next digit (3) of the dividend behind the 466 and repeat the process: 4663 / 541

Let's proceed to step 7:
541 goes into 4663 8 times with a remainder of 335.
Write down 8 as next digit of the result. 
Result so far: 5838.0
If we subtract 4328 from 4663, we get 335.
Append the next digit (7) from the dividend to 335 and continue with: 3357 / 541

Let's proceed to step 8:
The number 541 fits into 3357 6 times, leaving a remainder of 111.
Record the quotient 6 as the next digit in the result. 
Result so far: 58386.0
Deduct 3246 from 3357 and we're left with 111.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1110, and continue the process.

Let's proceed to step 9:
The number 541 fits into 1110 2 times, leaving a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 58386.2
If we subtract 1082 from 1110, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 10:
280 divided by 541 is 0 with a remainder of 280.
Write down 0 as next digit of the result. 
Result so far: 58386.2
If we take 0 away from 280, we end up with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Step 11:
541 can be fit into 2800 5 times, resulting in a remainder of 95.
Use 5 as the next digit of our solution. 
Result so far: 58386.205
The remainder is 95 after subtracting 2705 from 2800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Step 12:
If we divide 950 by 541, we get 1 and a remainder of 409.
Write down 1 as next digit of the result. 
Result so far: 58386.2051
Deduct 541 from 950 and we're left with 409.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

On to step 13:
4090 divided by 541 is 7 with a remainder of 303.
The next digit of our result is 7. 
Result so far: 58386.20517
If we take 3787 away from 4090, we end up with 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

On to step 14:
3030 divided by 541 is 5 with a remainder of 325.
Record the quotient 5 as the next digit in the result. 
Result so far: 58386.205175
Deduct 2705 from 3030 and we're left with 325.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3250, and continue the process.

Step 15:
If we divide 3250 by 541, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 58386.2051756
If we subtract 3246 from 3250, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 16:
541 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 58386.2051756
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Our division results in 58386.2051756 with a remaining 4e-08.