Let's divide 145138 by 13
We want to divide 145138 by 13.

Let's proceed to step 1:
13 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 13

On to step 2:
13 goes into 14 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 13 from 14 to get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 13

On to step 3:
13 goes into 15 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
Subtracting 13 from 15 leaves us with 2.
Bring next digit (1) of the dividend behind the 2 and repeat the process: 21 / 13

Step 4:
The number 13 fits into 21 1 times, leaving a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 111.0
If we subtract 13 from 21, we get 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 13

On to step 5:
The number 13 fits into 83 6 times, leaving a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 1116.0
Subtract 78 from 83 to get 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 13

Moving on to step 6:
58 divided by 13 is 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 11164.0
Subtracting 52 from 58 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 7:
When dividing 60 by 13, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 11164.4
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.

On to step 8:
80 divided by 13 is 6 with a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 11164.46
If we subtract 78 from 80, we 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.

Moving on to step 9:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 11164.461
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.

Going ahead to step 10:
The number 13 fits into 70 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 11164.4615
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.

Step 11:
The number 13 fits into 50 3 times, leaving a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 11164.46153
Subtract 39 from 50 to 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.

Let's proceed to step 12:
110 divided by 13 is 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 11164.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.

Let's proceed to step 13:
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: 11164.4615384
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.

Let's proceed to step 14:
When dividing 80 by 13, we get 6 with a remainder of 2.
The next digit of our result is 6. 
Result so far: 11164.46153846
If we subtract 78 from 80, we 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 quotient of the division is 11164.46153846, and the remainder is 2e-09.