We divide 507499 by 38
Let's see how many times 38 fits into 507499.

Moving on to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 38

Let's proceed to step 2:
38 can be fit into 50 1 times, resulting in a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 38 from 50, we get 12.
Append the next digit (7) from the dividend to 12 and continue with: 127 / 38

Moving on to step 3:
38 can be fit into 127 3 times, resulting in a remainder of 13.
The next digit of our result is 3. 
Result so far: 13.0
The remainder is 13 after subtracting 114 from 127.
Fetch the next digit (4) from the dividend, attach it to 13 and continue: 134 / 38

Going ahead to step 4:
38 goes into 134 3 times with a remainder of 20.
The number 3 becomes the next digit in our result. 
Result so far: 133.0
The remainder is 20 after subtracting 114 from 134.
Grab the next digit (9) from the dividend, add it to 20, then carry on: 209 / 38

Going ahead to step 5:
209 divided by 38 is 5 with a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 1335.0
Subtract 190 from 209 to get 19.
Take the next digit (9) from the dividend and append it to 19, then repeat: 199 / 38

Advancing to step 6:
199 divided by 38 is 5 with a remainder of 9.
Put 5 as the next digit of the answer. 
Result so far: 13355.0
If we subtract 190 from 199, 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.

Let's proceed to step 7:
38 can be fit into 90 2 times, resulting in a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 13355.2
Subtracting 76 from 90 leaves us 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.

Going ahead to step 8:
38 goes into 140 3 times with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 13355.23
If we take 114 away from 140, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 9:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 13355.236
Subtracting 228 from 260 leaves us 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:
38 can be fit into 320 8 times, resulting in a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 13355.2368
The remainder is 16 after subtracting 304 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 11:
38 goes into 160 4 times with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 13355.23684
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.

On to step 12:
38 goes into 80 2 times with a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 13355.236842
If we subtract 76 from 80, we get 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 13:
The number 38 fits into 40 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 13355.2368421
The remainder is 2 after subtracting 38 from 40.
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:
If we divide 20 by 38, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 13355.2368421
Subtracting 0 from 20 leaves us with 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 final outcome is 13355.2368421, with a leftover of 2e-08.