We're dividing 598548 by 31 
We want to divide 598548 by 31.

Let's proceed to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 31

Step 2:
When dividing 59 by 31, we get 1 with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 59 and we're left with 28.
Append the next digit (8) from the dividend to 28 and continue with: 288 / 31

Step 3:
When dividing 288 by 31, we get 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 19.0
Subtracting 279 from 288 leaves us with 9.
Append the next digit (5) from the dividend to 9 and continue with: 95 / 31

Step 4:
95 divided by 31 is 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 193.0
Deduct 93 from 95 and we're left with 2.
Take the next digit (4) from the dividend and append it to 2, then repeat: 24 / 31

Step 5:
The number 31 fits into 24 0 times, leaving a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 1930.0
The remainder is 24 after subtracting 0 from 24.
Take the next digit (8) from the dividend and append it to 24, then repeat: 248 / 31

Moving on to step 6:
The number 31 fits into 248 8 times, leaving a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 19308.0
If we subtract 248 from 248, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 7:
0 divided by 31 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 19308.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
31 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 19308.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 19308.0 and a remainder of 0.0.