Let's divide 501012 by 19
We want to divide 501012 by 19.

Advancing to step 1:
If we divide 5 by 19, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 19

On to step 2:
19 can be fit into 50 2 times, resulting in a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 38 from 50 and we're left with 12.
Take the next digit (1) from the dividend and append it to 12, then repeat: 121 / 19

Step 3:
When dividing 121 by 19, we get 6 with a remainder of 7.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Subtracting 114 from 121 leaves us with 7.
Append the next digit (0) from the dividend to 7 and continue with: 70 / 19

Moving on to step 4:
19 goes into 70 3 times with a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 263.0
The remainder is 13 after subtracting 57 from 70.
Include the next digit (1) from the dividend after 13, then repeat: 131 / 19

Step 5:
When dividing 131 by 19, we get 6 with a remainder of 17.
The number 6 becomes the next digit in our result. 
Result so far: 2636.0
If we take 114 away from 131, we end up with 17.
Take the next digit (2) from the dividend and append it to 17, then repeat: 172 / 19

Step 6:
19 goes into 172 9 times with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 26369.0
If we take 171 away from 172, 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.

Let's proceed to step 7:
19 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 26369.0
If we subtract 0 from 10, we get 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:
If we divide 100 by 19, we get 5 and a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 26369.05
Subtracting 95 from 100 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.

Going ahead to step 9:
19 can be fit into 50 2 times, resulting in a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 26369.052
If we take 38 away from 50, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
When dividing 120 by 19, we get 6 with a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 26369.0526
If we take 114 away from 120, 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.

Going ahead to step 11:
If we divide 60 by 19, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 26369.05263
Deduct 57 from 60 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
19 goes into 30 1 times with a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 26369.052631
If we subtract 19 from 30, 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 13:
The number 19 fits into 110 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 26369.0526315
If we take 95 away from 110, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 14:
19 goes into 150 7 times with a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 26369.05263157
If we take 133 away from 150, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

After the division, we end up with 26369.05263157 and a remainder of 1.7e-08.