31797108 divided by 404 
Let's see how many times 404 fits into 31797108.

Advancing to step 1:
If we divide 3 by 404, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 404

Step 2:
31 divided by 404 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 404

On to step 3:
When dividing 317 by 404, we get 0 with a remainder of 317.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 317 and we're left with 317.
Bring next digit (9) of the dividend behind the 317 and repeat the process: 3179 / 404

Moving on to step 4:
The number 404 fits into 3179 7 times, leaving a remainder of 351.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
If we take 2828 away from 3179, we end up with 351.
Include the next digit (7) from the dividend after 351, then repeat: 3517 / 404

On to step 5:
When dividing 3517 by 404, we get 8 with a remainder of 285.
Put 8 as the next digit of the answer. 
Result so far: 78.0
The remainder is 285 after subtracting 3232 from 3517.
Take the next digit (1) from the dividend and append it to 285, then repeat: 2851 / 404

Let's proceed to step 6:
404 goes into 2851 7 times with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 787.0
If we subtract 2828 from 2851, we get 23.
Bring next digit (0) of the dividend behind the 23 and repeat the process: 230 / 404

Advancing to step 7:
The number 404 fits into 230 0 times, leaving a remainder of 230.
Put 0 as the next digit of the answer. 
Result so far: 7870.0
The remainder is 230 after subtracting 0 from 230.
Take the next digit (8) from the dividend and append it to 230, then repeat: 2308 / 404

On to step 8:
404 can be fit into 2308 5 times, resulting in a remainder of 288.
Record the quotient 5 as the next digit in the result. 
Result so far: 78705.0
If we take 2020 away from 2308, we end up with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Moving on to step 9:
404 can be fit into 2880 7 times, resulting in a remainder of 52.
The number 7 becomes the next digit in our result. 
Result so far: 78705.7
Subtracting 2828 from 2880 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 10:
404 goes into 520 1 times with a remainder of 116.
The next digit of our result is 1. 
Result so far: 78705.71
If we take 404 away from 520, we end up with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Moving on to step 11:
If we divide 1160 by 404, we get 2 and a remainder of 352.
Record the quotient 2 as the next digit in the result. 
Result so far: 78705.712
Subtracting 808 from 1160 leaves us with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Let's proceed to step 12:
404 can be fit into 3520 8 times, resulting in a remainder of 288.
Write down 8 as next digit of the result. 
Result so far: 78705.7128
If we subtract 3232 from 3520, we get 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Going ahead to step 13:
When dividing 2880 by 404, we get 7 with a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 78705.71287
The remainder is 52 after subtracting 2828 from 2880.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 14:
404 can be fit into 520 1 times, resulting in a remainder of 116.
Put 1 as the next digit of the answer. 
Result so far: 78705.712871
Subtracting 404 from 520 leaves us with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Let's proceed to step 15:
When dividing 1160 by 404, we get 2 with a remainder of 352.
The number 2 becomes the next digit in our result. 
Result so far: 78705.7128712
If we take 808 away from 1160, we end up with 352.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3520, and continue the process.

Going ahead to step 16:
The number 404 fits into 3520 8 times, leaving a remainder of 288.
Use 8 as the next digit of our solution. 
Result so far: 78705.71287128
Deduct 3232 from 3520 and we're left with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

The quotient of the division is 78705.71287128, and the remainder is 2.88e-07.