We divide 397964 by 4
Our goal is to divide 397964 by 4.

Let's proceed to step 1:
When dividing 3 by 4, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 4

On to step 2:
If we divide 39 by 4, we get 9 and a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 36 away from 39, we end up with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 4

Let's proceed to step 3:
4 goes into 37 9 times with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 99.0
If we take 36 away from 37, we end up with 1.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 4

Advancing to step 4:
4 can be fit into 19 4 times, resulting in a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 994.0
Deduct 16 from 19 and we're left with 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 4

Step 5:
When dividing 36 by 4, we get 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 9949.0
Deduct 36 from 36 and we're left with 0.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 4

Going ahead to step 6:
4 can be fit into 4 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 99491.0
Deduct 4 from 4 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 99491.0
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 99491.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 99491.0, and the remainder is 0.0.