397312 ÷ 13 
Let's see how many times 13 fits into 397312.

On to step 1:
13 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 13

Moving on to step 2:
39 divided by 13 is 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 39 from 39, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 13

Moving on to step 3:
13 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we subtract 0 from 7, we get 7.
Bring next digit (3) of the dividend behind the 7 and repeat the process: 73 / 13

Let's proceed to step 4:
73 divided by 13 is 5 with a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 305.0
Subtracting 65 from 73 leaves us with 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 13

Step 5:
81 divided by 13 is 6 with a remainder of 3.
Record the quotient 6 as the next digit in the result. 
Result so far: 3056.0
The remainder is 3 after subtracting 78 from 81.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 13

Advancing to step 6:
32 divided by 13 is 2 with a remainder of 6.
The next digit of our result is 2. 
Result so far: 30562.0
Subtracting 26 from 32 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
The number 13 fits into 60 4 times, leaving a remainder of 8.
The next digit of our result is 4. 
Result so far: 30562.4
Subtracting 52 from 60 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
13 goes into 80 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 30562.46
Deduct 78 from 80 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 30562.461
Subtracting 13 from 20 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 10:
13 can be fit into 70 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 30562.4615
The remainder is 5 after subtracting 65 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
13 goes into 50 3 times with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 30562.46153
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 12:
If we divide 110 by 13, we get 8 and a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 30562.461538
If we take 104 away from 110, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
If we divide 60 by 13, we get 4 and a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 30562.4615384
Subtract 52 from 60 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 14:
13 can be fit into 80 6 times, resulting in a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 30562.46153846
Subtract 78 from 80 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final result is 30562.46153846 with a remainder of 2e-09.