We're dividing 507936 by 38 
We want to figure out the number of times 507936 can be divided by 38.

On to step 1:
38 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 38

Going ahead to step 2:
The number 38 fits into 50 1 times, leaving a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 38 from 50, we get 12.
Include the next digit (7) from the dividend after 12, then repeat: 127 / 38

Going ahead to step 3:
38 can be fit into 127 3 times, resulting in a remainder of 13.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we subtract 114 from 127, we get 13.
Bring next digit (9) of the dividend behind the 13 and repeat the process: 139 / 38

Going ahead to step 4:
38 can be fit into 139 3 times, resulting in a remainder of 25.
The next digit of our result is 3. 
Result so far: 133.0
If we subtract 114 from 139, we get 25.
Append the next digit (3) from the dividend to 25 and continue with: 253 / 38

Step 5:
The number 38 fits into 253 6 times, leaving a remainder of 25.
Record the quotient 6 as the next digit in the result. 
Result so far: 1336.0
Subtracting 228 from 253 leaves us with 25.
Append the next digit (6) from the dividend to 25 and continue with: 256 / 38

On to step 6:
38 can be fit into 256 6 times, resulting in a remainder of 28.
The next digit of our result is 6. 
Result so far: 13366.0
If we subtract 228 from 256, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
38 can be fit into 280 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 13366.7
If we take 266 away from 280, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 8:
If we divide 140 by 38, we get 3 and a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 13366.73
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 9:
If we divide 260 by 38, we get 6 and a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 13366.736
Deduct 228 from 260 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 10:
320 divided by 38 is 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 13366.7368
Deduct 304 from 320 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 11:
When dividing 160 by 38, we get 4 with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 13366.73684
Deduct 152 from 160 and we're left 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.

Advancing to step 12:
38 goes into 80 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 13366.736842
If we take 76 away from 80, we end up 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.

Moving on to step 13:
The number 38 fits into 40 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 13366.7368421
Deduct 38 from 40 and we're left 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.

Advancing to step 14:
38 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 13366.7368421
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The quotient of the division is 13366.7368421, and the remainder is 2e-08.