Let's divide 31774386 by 404
Our goal is to divide 31774386 by 404.

On to step 1:
404 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 404

Going ahead to step 2:
If we divide 31 by 404, we get 0 and a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 404

Let's proceed to step 3:
When dividing 317 by 404, we get 0 with a remainder of 317.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 317 after subtracting 0 from 317.
Append the next digit (7) from the dividend to 317 and continue with: 3177 / 404

Going ahead to step 4:
404 can be fit into 3177 7 times, resulting in a remainder of 349.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 2828 from 3177 leaves us with 349.
Append the next digit (4) from the dividend to 349 and continue with: 3494 / 404

On to step 5:
404 can be fit into 3494 8 times, resulting in a remainder of 262.
Write down 8 as next digit of the result. 
Result so far: 78.0
If we take 3232 away from 3494, we end up with 262.
Include the next digit (3) from the dividend after 262, then repeat: 2623 / 404

Going ahead to step 6:
404 goes into 2623 6 times with a remainder of 199.
Write down 6 as next digit of the result. 
Result so far: 786.0
Subtract 2424 from 2623 to get 199.
Grab the next digit (8) from the dividend, add it to 199, then carry on: 1998 / 404

Going ahead to step 7:
When dividing 1998 by 404, we get 4 with a remainder of 382.
Use 4 as the next digit of our solution. 
Result so far: 7864.0
Subtract 1616 from 1998 to get 382.
Grab the next digit (6) from the dividend, add it to 382, then carry on: 3826 / 404

On to step 8:
3826 divided by 404 is 9 with a remainder of 190.
Record the quotient 9 as the next digit in the result. 
Result so far: 78649.0
If we take 3636 away from 3826, we end up with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Step 9:
When dividing 1900 by 404, we get 4 with a remainder of 284.
Use 4 as the next digit of our solution. 
Result so far: 78649.4
Subtracting 1616 from 1900 leaves us with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Moving on to step 10:
404 goes into 2840 7 times with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 78649.47
Subtracting 2828 from 2840 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 11:
120 divided by 404 is 0 with a remainder of 120.
The number 0 becomes the next digit in our result. 
Result so far: 78649.47
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 12:
404 goes into 1200 2 times with a remainder of 392.
The number 2 becomes the next digit in our result. 
Result so far: 78649.4702
Deduct 808 from 1200 and we're left with 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

Going ahead to step 13:
404 can be fit into 3920 9 times, resulting in a remainder of 284.
The next digit of our result is 9. 
Result so far: 78649.47029
Deduct 3636 from 3920 and we're left with 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Advancing to step 14:
404 goes into 2840 7 times with a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 78649.470297
If we subtract 2828 from 2840, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 15:
When dividing 120 by 404, we get 0 with a remainder of 120.
The next digit of our result is 0. 
Result so far: 78649.470297
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 16:
When dividing 1200 by 404, we get 2 with a remainder of 392.
The number 2 becomes the next digit in our result. 
Result so far: 78649.47029702
If we subtract 808 from 1200, we get 392.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3920, and continue the process.

The quotient of the division is 78649.47029702, and the remainder is 3.92e-07.