We look at the division of 511142 by 13 
Our goal is to divide 511142 by 13.

Let's proceed to step 1:
13 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 13

Step 2:
When dividing 51 by 13, we get 3 with a remainder of 12.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 39 from 51, we get 12.
Grab the next digit (1) from the dividend, add it to 12, then carry on: 121 / 13

Let's proceed to step 3:
13 goes into 121 9 times with a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Deduct 117 from 121 and we're left with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 13

On to step 4:
If we divide 41 by 13, we get 3 and a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 393.0
Deduct 39 from 41 and we're left with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 13

Advancing to step 5:
13 can be fit into 24 1 times, resulting in a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 3931.0
Deduct 13 from 24 and we're left with 11.
Fetch the next digit (2) from the dividend, attach it to 11 and continue: 112 / 13

Step 6:
112 divided by 13 is 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 39318.0
Subtract 104 from 112 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 7:
The number 13 fits into 80 6 times, leaving a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 39318.6
If we take 78 away from 80, we end up 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.

Step 8:
The number 13 fits into 20 1 times, leaving a remainder of 7.
The number 1 becomes the next digit in our result. 
Result so far: 39318.61
If we take 13 away from 20, we end up 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.

Let's proceed to step 9:
13 goes into 70 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 39318.615
If we take 65 away from 70, we end up with 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 10:
13 goes into 50 3 times with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 39318.6153
Deduct 39 from 50 and we're left 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.

Advancing to step 11:
The number 13 fits into 110 8 times, leaving a remainder of 6.
Put 8 as the next digit of the answer. 
Result so far: 39318.61538
Subtracting 104 from 110 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.

Advancing to step 12:
60 divided by 13 is 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 39318.615384
Deduct 52 from 60 and we're left 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.

Advancing to step 13:
If we divide 80 by 13, we get 6 and a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 39318.6153846
If we take 78 away from 80, we end up 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.

Let's proceed to step 14:
The number 13 fits into 20 1 times, leaving a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 39318.61538461
Deduct 13 from 20 and we're left 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.

The quotient of the division is 39318.61538461, and the remainder is 7e-09.