We're dividing 31365182 by 585 
We want to divide 31365182 by 585.

Step 1:
The number 585 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 585

On to step 2:
585 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Bring next digit (3) of the dividend behind the 31 and repeat the process: 313 / 585

On to step 3:
585 goes into 313 0 times with a remainder of 313.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 313 leaves us with 313.
Fetch the next digit (6) from the dividend, attach it to 313 and continue: 3136 / 585

Let's proceed to step 4:
585 can be fit into 3136 5 times, resulting in a remainder of 211.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 211 after subtracting 2925 from 3136.
Include the next digit (5) from the dividend after 211, then repeat: 2115 / 585

Advancing to step 5:
585 goes into 2115 3 times with a remainder of 360.
The number 3 becomes the next digit in our result. 
Result so far: 53.0
Deduct 1755 from 2115 and we're left with 360.
Append the next digit (1) from the dividend to 360 and continue with: 3601 / 585

Going ahead to step 6:
585 can be fit into 3601 6 times, resulting in a remainder of 91.
The next digit of our result is 6. 
Result so far: 536.0
The remainder is 91 after subtracting 3510 from 3601.
Take the next digit (8) from the dividend and append it to 91, then repeat: 918 / 585

On to step 7:
If we divide 918 by 585, we get 1 and a remainder of 333.
Use 1 as the next digit of our solution. 
Result so far: 5361.0
Subtracting 585 from 918 leaves us with 333.
Take the next digit (2) from the dividend and append it to 333, then repeat: 3332 / 585

Moving on to step 8:
585 goes into 3332 5 times with a remainder of 407.
Record the quotient 5 as the next digit in the result. 
Result so far: 53615.0
If we subtract 2925 from 3332, we get 407.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4070, and continue the process.

Let's proceed to step 9:
585 can be fit into 4070 6 times, resulting in a remainder of 560.
Record the quotient 6 as the next digit in the result. 
Result so far: 53615.6
Subtract 3510 from 4070 to get 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

On to step 10:
585 can be fit into 5600 9 times, resulting in a remainder of 335.
Put 9 as the next digit of the answer. 
Result so far: 53615.69
If we subtract 5265 from 5600, we get 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

On to step 11:
3350 divided by 585 is 5 with a remainder of 425.
Use 5 as the next digit of our solution. 
Result so far: 53615.695
If we subtract 2925 from 3350, we get 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Moving on to step 12:
585 can be fit into 4250 7 times, resulting in a remainder of 155.
Write down 7 as next digit of the result. 
Result so far: 53615.6957
If we subtract 4095 from 4250, we get 155.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1550, and continue the process.

Going ahead to step 13:
If we divide 1550 by 585, we get 2 and a remainder of 380.
The next digit of our result is 2. 
Result so far: 53615.69572
Deduct 1170 from 1550 and we're left with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Going ahead to step 14:
The number 585 fits into 3800 6 times, leaving a remainder of 290.
Put 6 as the next digit of the answer. 
Result so far: 53615.695726
Subtracting 3510 from 3800 leaves us with 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Step 15:
585 goes into 2900 4 times with a remainder of 560.
Use 4 as the next digit of our solution. 
Result so far: 53615.6957264
The remainder is 560 after subtracting 2340 from 2900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Going ahead to step 16:
585 can be fit into 5600 9 times, resulting in a remainder of 335.
The next digit of our result is 9. 
Result so far: 53615.69572649
If we subtract 5265 from 5600, we get 335.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Our division results in 53615.69572649 with a remaining 3.35e-07.