We're dividing 501512 by 13 
Let's see how many times 13 fits into 501512.

Step 1:
The number 13 fits into 5 0 times, leaving 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.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 13

Step 2:
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: 3.0
Subtract 39 from 50 to get 11.
Fetch the next digit (1) from the dividend, attach it to 11 and continue: 111 / 13

Going ahead to step 3:
The number 13 fits into 111 8 times, leaving a remainder of 7.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtract 104 from 111 to get 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 13

Advancing to step 4:
13 can be fit into 75 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 385.0
Deduct 65 from 75 and we're left with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 13

Let's proceed to step 5:
The number 13 fits into 101 7 times, leaving a remainder of 10.
Record the quotient 7 as the next digit in the result. 
Result so far: 3857.0
The remainder is 10 after subtracting 91 from 101.
Bring next digit (2) of the dividend behind the 10 and repeat the process: 102 / 13

Advancing to step 6:
If we divide 102 by 13, we get 7 and a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 38577.0
If we subtract 91 from 102, 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 7:
When dividing 110 by 13, we get 8 with a remainder of 6.
Record the quotient 8 as the next digit in the result. 
Result so far: 38577.8
If we subtract 104 from 110, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 8:
If we divide 60 by 13, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 38577.84
If we take 52 away from 60, we end up 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.

Let's proceed to step 9:
13 goes into 80 6 times with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 38577.846
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 10:
13 goes into 20 1 times with a remainder of 7.
The next digit of our result is 1. 
Result so far: 38577.8461
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 11:
70 divided by 13 is 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 38577.84615
Subtracting 65 from 70 leaves us 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.

Let's proceed to step 12:
13 goes into 50 3 times with a remainder of 11.
Record the quotient 3 as the next digit in the result. 
Result so far: 38577.846153
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.

Advancing to step 13:
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: 38577.8461538
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.

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

Our division results in 38577.84615384 with a remaining 8e-09.