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

On to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (7) from the dividend after 5, then repeat: 57 / 31

Moving on to step 2:
When dividing 57 by 31, we get 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 31 from 57 leaves us with 26.
Take the next digit (2) from the dividend and append it to 26, then repeat: 262 / 31

Let's proceed to step 3:
31 can be fit into 262 8 times, resulting in a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 18.0
The remainder is 14 after subtracting 248 from 262.
Append the next digit (7) from the dividend to 14 and continue with: 147 / 31

Step 4:
31 goes into 147 4 times with a remainder of 23.
Put 4 as the next digit of the answer. 
Result so far: 184.0
The remainder is 23 after subtracting 124 from 147.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 31

Going ahead to step 5:
When dividing 237 by 31, we get 7 with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 1847.0
If we subtract 217 from 237, we get 20.
Append the next digit (8) from the dividend to 20 and continue with: 208 / 31

Advancing to step 6:
The number 31 fits into 208 6 times, leaving a remainder of 22.
Write down 6 as next digit of the result. 
Result so far: 18476.0
Subtracting 186 from 208 leaves us 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.

Let's proceed to step 7:
31 goes into 220 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 18476.7
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 8:
30 divided by 31 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 18476.7
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 9:
300 divided by 31 is 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 18476.709
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.

On to step 10:
When dividing 210 by 31, we get 6 with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 18476.7096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 11:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 18476.70967
Deduct 217 from 240 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 12:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 18476.709677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 18476.709677 with a balance of 1.3e-06.