We look at the division of 31041456 by 394 
Our goal is to divide 31041456 by 394.

Moving on to step 1:
When dividing 3 by 394, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 394

Let's proceed to step 2:
394 goes into 31 0 times 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.
Take the next digit (0) from the dividend and append it to 31, then repeat: 310 / 394

Going ahead to step 3:
394 goes into 310 0 times with a remainder of 310.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 310 and we're left with 310.
Include the next digit (4) from the dividend after 310, then repeat: 3104 / 394

Moving on to step 4:
If we divide 3104 by 394, we get 7 and a remainder of 346.
Use 7 as the next digit of our solution. 
Result so far: 7.0
The remainder is 346 after subtracting 2758 from 3104.
Append the next digit (1) from the dividend to 346 and continue with: 3461 / 394

Moving on to step 5:
3461 divided by 394 is 8 with a remainder of 309.
The next digit of our result is 8. 
Result so far: 78.0
Deduct 3152 from 3461 and we're left with 309.
Grab the next digit (4) from the dividend, add it to 309, then carry on: 3094 / 394

Advancing to step 6:
3094 divided by 394 is 7 with a remainder of 336.
Use 7 as the next digit of our solution. 
Result so far: 787.0
Deduct 2758 from 3094 and we're left with 336.
Bring next digit (5) of the dividend behind the 336 and repeat the process: 3365 / 394

On to step 7:
394 can be fit into 3365 8 times, resulting in a remainder of 213.
Write down 8 as next digit of the result. 
Result so far: 7878.0
Subtracting 3152 from 3365 leaves us with 213.
Append the next digit (6) from the dividend to 213 and continue with: 2136 / 394

Advancing to step 8:
If we divide 2136 by 394, we get 5 and a remainder of 166.
Put 5 as the next digit of the answer. 
Result so far: 78785.0
Subtracting 1970 from 2136 leaves us with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Step 9:
The number 394 fits into 1660 4 times, leaving a remainder of 84.
Use 4 as the next digit of our solution. 
Result so far: 78785.4
If we subtract 1576 from 1660, we get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Going ahead to step 10:
If we divide 840 by 394, we get 2 and a remainder of 52.
Record the quotient 2 as the next digit in the result. 
Result so far: 78785.42
The remainder is 52 after subtracting 788 from 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 11:
394 goes into 520 1 times with a remainder of 126.
Record the quotient 1 as the next digit in the result. 
Result so far: 78785.421
Deduct 394 from 520 and we're left with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Moving on to step 12:
394 can be fit into 1260 3 times, resulting in a remainder of 78.
Write down 3 as next digit of the result. 
Result so far: 78785.4213
The remainder is 78 after subtracting 1182 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 13:
394 goes into 780 1 times with a remainder of 386.
Use 1 as the next digit of our solution. 
Result so far: 78785.42131
Subtracting 394 from 780 leaves us with 386.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Moving on to step 14:
394 can be fit into 3860 9 times, resulting in a remainder of 314.
Use 9 as the next digit of our solution. 
Result so far: 78785.421319
The remainder is 314 after subtracting 3546 from 3860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

Moving on to step 15:
The number 394 fits into 3140 7 times, leaving a remainder of 382.
Write down 7 as next digit of the result. 
Result so far: 78785.4213197
Subtracting 2758 from 3140 leaves us with 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

Step 16:
394 goes into 3820 9 times with a remainder of 274.
Record the quotient 9 as the next digit in the result. 
Result so far: 78785.42131979
If we take 3546 away from 3820, we end up with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

After the division, we end up with 78785.42131979 and a remainder of 2.74e-07.