5704552 divided by 31 
We want to divide 5704552 by 31.

Step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 31

Advancing to step 2:
When dividing 57 by 31, we get 1 with a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 31 from 57 and we're left with 26.
Fetch the next digit (0) from the dividend, attach it to 26 and continue: 260 / 31

On to step 3:
When dividing 260 by 31, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 18.0
The remainder is 12 after subtracting 248 from 260.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 31

Advancing to step 4:
31 goes into 124 4 times with a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 184.0
Subtracting 124 from 124 leaves us with 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 31

On to step 5:
31 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 1840.0
If we subtract 0 from 5, we get 5.
Take the next digit (5) from the dividend and append it to 5, then repeat: 55 / 31

Going ahead to step 6:
31 goes into 55 1 times with a remainder of 24.
Use 1 as the next digit of our solution. 
Result so far: 18401.0
The remainder is 24 after subtracting 31 from 55.
Grab the next digit (2) from the dividend, add it to 24, then carry on: 242 / 31

Advancing to step 7:
31 can be fit into 242 7 times, resulting in a remainder of 25.
The next digit of our result is 7. 
Result so far: 184017.0
The remainder is 25 after subtracting 217 from 242.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 8:
When dividing 250 by 31, we get 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 184017.8
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
31 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 184017.8
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 10:
When dividing 200 by 31, we get 6 with a remainder of 14.
The next digit of our result is 6. 
Result so far: 184017.806
If we take 186 away from 200, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 11:
31 goes into 140 4 times with a remainder of 16.
The next digit of our result is 4. 
Result so far: 184017.8064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
The next digit of our result is 5. 
Result so far: 184017.80645
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 13:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 184017.806451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 14:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 184017.8064516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 15:
31 goes into 40 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 184017.80645161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

After the division, we end up with 184017.80645161 and a remainder of 9e-09.