We're dividing 581808 by 31 
We want to figure out the number of times 581808 can be divided by 31.

Going ahead to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 31

On to step 2:
31 can be fit into 58 1 times, resulting in a remainder of 27.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 31 from 58 and we're left with 27.
Include the next digit (1) from the dividend after 27, then repeat: 271 / 31

Going ahead to step 3:
If we divide 271 by 31, we get 8 and a remainder of 23.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Deduct 248 from 271 and we're left with 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 31

Advancing to step 4:
The number 31 fits into 238 7 times, leaving a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 187.0
Subtracting 217 from 238 leaves us with 21.
Fetch the next digit (0) from the dividend, attach it to 21 and continue: 210 / 31

On to step 5:
31 can be fit into 210 6 times, resulting in a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 1876.0
If we take 186 away from 210, we end up with 24.
Take the next digit (8) from the dividend and append it to 24, then repeat: 248 / 31

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: 18768.0
The remainder is 0 after subtracting 248 from 248.
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 7:
When dividing 0 by 31, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 18768.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
31 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 18768.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 18768.0 with a remaining 0.0.