We divide 397945 by 1
We're looking to find how many times 1 goes into 397945.

On to step 1:
The number 1 fits into 3 3 times, leaving a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 3 from 3 to get 0.
Take the next digit (9) from the dividend and append it to 0, then repeat: 9 / 1

Advancing to step 2:
1 goes into 9 9 times with a remainder of 0.
Use 9 as the next digit of our solution. 
Result so far: 39.0
Deduct 9 from 9 and we're left with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 1

Moving on to step 3:
When dividing 7 by 1, we get 7 with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 397.0
Deduct 7 from 7 and we're left with 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 1

Moving on to step 4:
9 divided by 1 is 9 with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 3979.0
The remainder is 0 after subtracting 9 from 9.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 1

Let's proceed to step 5:
The number 1 fits into 4 4 times, leaving a remainder of 0.
The next digit of our result is 4. 
Result so far: 39794.0
If we subtract 4 from 4, we get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 1

Let's proceed to step 6:
When dividing 5 by 1, we get 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 397945.0
The remainder is 0 after subtracting 5 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
0 divided by 1 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 397945.0
The remainder is 0 after subtracting 0 from 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:
The number 1 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 397945.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 397945.0 with a balance of 0.0.