Let's divide 400951 by 13
Our goal is to divide 400951 by 13.

Advancing to step 1:
When dividing 4 by 13, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 13

Moving on to step 2:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 39 from 40 leaves us with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 13

Moving on to step 3:
13 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
Subtracting 0 from 10 leaves us with 10.
Bring next digit (9) of the dividend behind the 10 and repeat the process: 109 / 13

Step 4:
If we divide 109 by 13, we get 8 and a remainder of 5.
The next digit of our result is 8. 
Result so far: 308.0
Subtracting 104 from 109 leaves us with 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 13

On to step 5:
55 divided by 13 is 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 3084.0
If we subtract 52 from 55, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 13

Step 6:
If we divide 31 by 13, we get 2 and a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 30842.0
The remainder is 5 after subtracting 26 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
50 divided by 13 is 3 with a remainder of 11.
The next digit of our result is 3. 
Result so far: 30842.3
Subtracting 39 from 50 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 8:
If we divide 110 by 13, we get 8 and a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 30842.38
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.

Step 9:
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: 30842.384
The remainder is 8 after subtracting 52 from 60.
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 10:
When dividing 80 by 13, we get 6 with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 30842.3846
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 11:
When dividing 20 by 13, we get 1 with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 30842.38461
If we subtract 13 from 20, we get 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 12:
The number 13 fits into 70 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 30842.384615
If we subtract 65 from 70, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 13:
When dividing 50 by 13, we get 3 with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 30842.3846153
If we subtract 39 from 50, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 14:
When dividing 110 by 13, we get 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 30842.38461538
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.

The final outcome is 30842.38461538, with a leftover of 6e-09.