We look at the division of 397015 by 3 
We're looking to find how many times 3 goes into 397015.

Advancing to step 1:
3 goes into 3 1 times with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 3 from 3 leaves us with 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 3

Moving on to step 2:
If we divide 9 by 3, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
If we subtract 9 from 9, we get 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 3

Step 3:
If we divide 7 by 3, we get 2 and a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 132.0
Deduct 6 from 7 and we're left with 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 3

Advancing to step 4:
When dividing 10 by 3, we get 3 with a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 1323.0
If we take 9 away from 10, we end up with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 3

Step 5:
The number 3 fits into 11 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 13233.0
If we take 9 away from 11, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 3

Let's proceed to step 6:
3 goes into 25 8 times with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 132338.0
Deduct 24 from 25 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
3 goes into 10 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 132338.3
The remainder is 1 after subtracting 9 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 8:
The number 3 fits into 10 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 132338.33
If we subtract 9 from 10, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The quotient of the division is 132338.33, and the remainder is 0.001.