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

Advancing to step 1:
When dividing 3 by 13, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 13

Going ahead to step 2:
13 can be fit into 31 2 times, resulting in a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Deduct 26 from 31 and we're left with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 13

Going ahead to step 3:
If we divide 59 by 13, we get 4 and a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we take 52 away from 59, we end up with 7.
Include the next digit (1) from the dividend after 7, then repeat: 71 / 13

Step 4:
When dividing 71 by 13, we get 5 with a remainder of 6.
The next digit of our result is 5. 
Result so far: 245.0
If we subtract 65 from 71, we get 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 13

Going ahead to step 5:
If we divide 63 by 13, we get 4 and a remainder of 11.
The number 4 becomes the next digit in our result. 
Result so far: 2454.0
Subtract 52 from 63 to get 11.
Fetch the next digit (8) from the dividend, attach it to 11 and continue: 118 / 13

Let's proceed to step 6:
13 goes into 118 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 24549.0
If we take 117 away from 118, we end up 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.

Moving on to step 7:
13 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 24549.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
13 goes into 100 7 times with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 24549.07
Deduct 91 from 100 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 9:
The number 13 fits into 90 6 times, leaving a remainder of 12.
The next digit of our result is 6. 
Result so far: 24549.076
The remainder is 12 after subtracting 78 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
The number 13 fits into 120 9 times, leaving a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 24549.0769
If we subtract 117 from 120, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 11:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 24549.07692
Deduct 26 from 30 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
40 divided by 13 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 24549.076923
Subtracting 39 from 40 leaves us 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.

Step 13:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 24549.076923
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
When dividing 100 by 13, we get 7 with a remainder of 9.
The number 7 becomes the next digit in our result. 
Result so far: 24549.07692307
If we subtract 91 from 100, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 24549.07692307, and the remainder is 9e-09.