Let's divide 31178574 by 572
We want to divide 31178574 by 572.

Let's proceed to step 1:
When dividing 3 by 572, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 572

Step 2:
31 divided by 572 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (1) from the dividend, attach it to 31 and continue: 311 / 572

On to step 3:
311 divided by 572 is 0 with a remainder of 311.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 311 and we're left with 311.
Take the next digit (7) from the dividend and append it to 311, then repeat: 3117 / 572

Advancing to step 4:
If we divide 3117 by 572, we get 5 and a remainder of 257.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 2860 away from 3117, we end up with 257.
Take the next digit (8) from the dividend and append it to 257, then repeat: 2578 / 572

Step 5:
If we divide 2578 by 572, we get 4 and a remainder of 290.
Use 4 as the next digit of our solution. 
Result so far: 54.0
If we take 2288 away from 2578, we end up with 290.
Append the next digit (5) from the dividend to 290 and continue with: 2905 / 572

Going ahead to step 6:
572 goes into 2905 5 times with a remainder of 45.
The number 5 becomes the next digit in our result. 
Result so far: 545.0
Subtract 2860 from 2905 to get 45.
Grab the next digit (7) from the dividend, add it to 45, then carry on: 457 / 572

On to step 7:
If we divide 457 by 572, we get 0 and a remainder of 457.
The number 0 becomes the next digit in our result. 
Result so far: 5450.0
The remainder is 457 after subtracting 0 from 457.
Fetch the next digit (4) from the dividend, attach it to 457 and continue: 4574 / 572

Step 8:
4574 divided by 572 is 7 with a remainder of 570.
The next digit of our result is 7. 
Result so far: 54507.0
Subtracting 4004 from 4574 leaves us with 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

Step 9:
The number 572 fits into 5700 9 times, leaving a remainder of 552.
Put 9 as the next digit of the answer. 
Result so far: 54507.9
Subtracting 5148 from 5700 leaves us with 552.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5520, and continue the process.

Going ahead to step 10:
5520 divided by 572 is 9 with a remainder of 372.
Record the quotient 9 as the next digit in the result. 
Result so far: 54507.99
Subtract 5148 from 5520 to get 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

In conclusion, the division gives 54507.99 with a balance of 0.372.