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

Going ahead to step 1:
The number 38 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 38

Advancing to step 2:
If we divide 58 by 38, we get 1 and a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 38 from 58, we get 20.
Include the next digit (0) from the dividend after 20, then repeat: 200 / 38

On to step 3:
200 divided by 38 is 5 with a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Subtract 190 from 200 to get 10.
Grab the next digit (5) from the dividend, add it to 10, then carry on: 105 / 38

Moving on to step 4:
When dividing 105 by 38, we get 2 with a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 152.0
If we take 76 away from 105, we end up with 29.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 38

Advancing to step 5:
The number 38 fits into 290 7 times, leaving a remainder of 24.
The number 7 becomes the next digit in our result. 
Result so far: 1527.0
Subtract 266 from 290 to get 24.
Take the next digit (3) from the dividend and append it to 24, then repeat: 243 / 38

Let's proceed to step 6:
When dividing 243 by 38, we get 6 with a remainder of 15.
Write down 6 as next digit of the result. 
Result so far: 15276.0
Deduct 228 from 243 and we're left 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.

Moving on to step 7:
38 goes into 150 3 times with a remainder of 36.
The number 3 becomes the next digit in our result. 
Result so far: 15276.3
Subtract 114 from 150 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 8:
When dividing 360 by 38, we get 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 15276.39
If we take 342 away from 360, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 9:
38 can be fit into 180 4 times, resulting in a remainder of 28.
The next digit of our result is 4. 
Result so far: 15276.394
If we subtract 152 from 180, 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.

Going ahead to step 10:
280 divided by 38 is 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 15276.3947
Subtract 266 from 280 to get 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 11:
38 goes into 140 3 times with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 15276.39473
Subtract 114 from 140 to 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.

Step 12:
When dividing 260 by 38, we get 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 15276.394736
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.

On to step 13:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The next digit of our result is 8. 
Result so far: 15276.3947368
Subtracting 304 from 320 leaves us 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.

Advancing to step 14:
38 can be fit into 160 4 times, resulting in a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 15276.39473684
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.

The final result is 15276.39473684 with a remainder of 8e-09.