We're dividing 396778 by 74 
We want to divide 396778 by 74.

Advancing to step 1:
When dividing 3 by 74, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 74

Going ahead to step 2:
74 goes into 39 0 times with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Fetch the next digit (6) from the dividend, attach it to 39 and continue: 396 / 74

Going ahead to step 3:
74 can be fit into 396 5 times, resulting in a remainder of 26.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 370 from 396, we get 26.
Bring next digit (7) of the dividend behind the 26 and repeat the process: 267 / 74

On to step 4:
267 divided by 74 is 3 with a remainder of 45.
The next digit of our result is 3. 
Result so far: 53.0
Deduct 222 from 267 and we're left with 45.
Include the next digit (7) from the dividend after 45, then repeat: 457 / 74

Let's proceed to step 5:
If we divide 457 by 74, we get 6 and a remainder of 13.
The next digit of our result is 6. 
Result so far: 536.0
Deduct 444 from 457 and we're left with 13.
Grab the next digit (8) from the dividend, add it to 13, then carry on: 138 / 74

Going ahead to step 6:
74 goes into 138 1 times with a remainder of 64.
The number 1 becomes the next digit in our result. 
Result so far: 5361.0
If we take 74 away from 138, we end up with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 7:
When dividing 640 by 74, we get 8 with a remainder of 48.
Use 8 as the next digit of our solution. 
Result so far: 5361.8
Deduct 592 from 640 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 8:
When dividing 480 by 74, we get 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 5361.86
Deduct 444 from 480 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 9:
74 goes into 360 4 times with a remainder of 64.
The next digit of our result is 4. 
Result so far: 5361.864
Subtract 296 from 360 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 10:
74 goes into 640 8 times with a remainder of 48.
Put 8 as the next digit of the answer. 
Result so far: 5361.8648
Subtracting 592 from 640 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 11:
74 can be fit into 480 6 times, resulting in a remainder of 36.
Record the quotient 6 as the next digit in the result. 
Result so far: 5361.86486
If we take 444 away from 480, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 12:
74 can be fit into 360 4 times, resulting in a remainder of 64.
Write down 4 as next digit of the result. 
Result so far: 5361.864864
Subtract 296 from 360 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 13:
74 goes into 640 8 times with a remainder of 48.
Use 8 as the next digit of our solution. 
Result so far: 5361.8648648
Subtracting 592 from 640 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Moving on to step 14:
74 goes into 480 6 times with a remainder of 36.
Use 6 as the next digit of our solution. 
Result so far: 5361.86486486
Subtract 444 from 480 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The quotient of the division is 5361.86486486, and the remainder is 3.6e-08.