Let's divide 509973 by 38
We're looking to find how many times 38 goes into 509973.

Let's proceed to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 38

Let's proceed to step 2:
When dividing 50 by 38, we get 1 with a remainder of 12.
The next digit of our result is 1. 
Result so far: 1.0
If we take 38 away from 50, we end up with 12.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 38

Going ahead to step 3:
129 divided by 38 is 3 with a remainder of 15.
The next digit of our result is 3. 
Result so far: 13.0
Subtracting 114 from 129 leaves us with 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 38

Moving on to step 4:
159 divided by 38 is 4 with a remainder of 7.
Write down 4 as next digit of the result. 
Result so far: 134.0
If we take 152 away from 159, we end up with 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 38

Moving on to step 5:
If we divide 77 by 38, we get 2 and a remainder of 1.
The next digit of our result is 2. 
Result so far: 1342.0
If we subtract 76 from 77, we get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 38

Advancing to step 6:
If we divide 13 by 38, we get 0 and a remainder of 13.
Write down 0 as next digit of the result. 
Result so far: 13420.0
The remainder is 13 after subtracting 0 from 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
The number 38 fits into 130 3 times, leaving a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 13420.3
If we take 114 away from 130, we end up 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 8:
38 goes into 160 4 times with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 13420.34
Subtracting 152 from 160 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.

On to step 9:
80 divided by 38 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 13420.342
Subtract 76 from 80 to 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.

Step 10:
38 goes into 40 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 13420.3421
Subtracting 38 from 40 leaves us 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.

Let's proceed to step 11:
When dividing 20 by 38, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 13420.3421
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.

On to step 12:
When dividing 200 by 38, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 13420.342105
Deduct 190 from 200 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.

Going ahead to step 13:
38 can be fit into 100 2 times, resulting in a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 13420.3421052
If we take 76 away from 100, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 14:
When dividing 240 by 38, we get 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 13420.34210526
Deduct 228 from 240 and we're left 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.

In conclusion, the division gives 13420.34210526 with a balance of 1.2e-08.