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

On to step 1:
If we divide 5 by 13, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 13

Advancing to step 2:
50 divided by 13 is 3 with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 39 from 50 leaves us with 11.
Bring next digit (0) of the dividend behind the 11 and repeat the process: 110 / 13

On to step 3:
110 divided by 13 is 8 with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Deduct 104 from 110 and we're left with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 13

Let's proceed to step 4:
62 divided by 13 is 4 with a remainder of 10.
Write down 4 as next digit of the result. 
Result so far: 384.0
Deduct 52 from 62 and we're left with 10.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 13

On to step 5:
13 can be fit into 102 7 times, resulting in a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 3847.0
If we subtract 91 from 102, we get 11.
Include the next digit (6) from the dividend after 11, then repeat: 116 / 13

Going ahead to step 6:
13 goes into 116 8 times with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 38478.0
If we take 104 away from 116, 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.

Moving on to step 7:
The number 13 fits into 120 9 times, leaving a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 38478.9
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.

Step 8:
13 goes into 30 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 38478.92
Subtracting 26 from 30 leaves us 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.

Let's proceed to step 9:
13 goes into 40 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 38478.923
If we take 39 away from 40, 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.

Advancing to step 10:
When dividing 10 by 13, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 38478.923
Deduct 0 from 10 and we're left 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 11:
13 goes into 100 7 times with a remainder of 9.
The next digit of our result is 7. 
Result so far: 38478.92307
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.

Moving on to step 12:
13 can be fit into 90 6 times, resulting in a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 38478.923076
If we subtract 78 from 90, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
120 divided by 13 is 9 with a remainder of 3.
Write down 9 as next digit of the result. 
Result so far: 38478.9230769
Subtracting 117 from 120 leaves us 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.

Going ahead to step 14:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 38478.92307692
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.

After the division, we end up with 38478.92307692 and a remainder of 4e-09.