18524 divided by 31 
Our goal is to divide 18524 by 31.

Moving on to step 1:
1 divided by 31 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 31

Going ahead to step 2:
31 goes into 18 0 times with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 18 after subtracting 0 from 18.
Include the next digit (5) from the dividend after 18, then repeat: 185 / 31

Advancing to step 3:
31 can be fit into 185 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we take 155 away from 185, we end up with 30.
Bring next digit (2) of the dividend behind the 30 and repeat the process: 302 / 31

Moving on to step 4:
302 divided by 31 is 9 with a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Subtract 279 from 302 to get 23.
Fetch the next digit (4) from the dividend, attach it to 23 and continue: 234 / 31

Advancing to step 5:
The number 31 fits into 234 7 times, leaving a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 597.0
If we take 217 away from 234, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 6:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 597.5
Subtracting 155 from 170 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 597.54
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 8:
When dividing 260 by 31, we get 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 597.548
Subtract 248 from 260 to 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.

Going ahead to step 9:
When dividing 120 by 31, we get 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 597.5483
Deduct 93 from 120 and we're left 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.

Advancing to step 10:
31 goes into 270 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 597.54838
If we take 248 away from 270, we end up with 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 11:
When dividing 220 by 31, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 597.548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
30 divided by 31 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 597.548387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
300 divided by 31 is 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 597.54838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final outcome is 597.54838709, with a leftover of 2.1e-08.