Let's divide 508745 by 38
Our goal is to divide 508745 by 38.

Moving on to step 1:
5 divided by 38 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 38

Let's proceed 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
Subtract 38 from 50 to get 12.
Bring next digit (8) of the dividend behind the 12 and repeat the process: 128 / 38

Step 3:
38 can be fit into 128 3 times, resulting in a remainder of 14.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 114 from 128 leaves us with 14.
Fetch the next digit (7) from the dividend, attach it to 14 and continue: 147 / 38

On to step 4:
147 divided by 38 is 3 with a remainder of 33.
Record the quotient 3 as the next digit in the result. 
Result so far: 133.0
Subtracting 114 from 147 leaves us with 33.
Append the next digit (4) from the dividend to 33 and continue with: 334 / 38

Let's proceed to step 5:
38 goes into 334 8 times with a remainder of 30.
Record the quotient 8 as the next digit in the result. 
Result so far: 1338.0
If we subtract 304 from 334, we get 30.
Take the next digit (5) from the dividend and append it to 30, then repeat: 305 / 38

On to step 6:
The number 38 fits into 305 8 times, leaving a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 13388.0
If we take 304 away from 305, 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.

Let's proceed to step 7:
The number 38 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 13388.0
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.

On to step 8:
When dividing 100 by 38, we get 2 with a remainder of 24.
The next digit of our result is 2. 
Result so far: 13388.02
If we subtract 76 from 100, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
If we divide 240 by 38, we get 6 and a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 13388.026
The remainder is 12 after subtracting 228 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 10:
If we divide 120 by 38, we get 3 and a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 13388.0263
Deduct 114 from 120 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
If we divide 60 by 38, we get 1 and a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 13388.02631
If we subtract 38 from 60, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 12:
When dividing 220 by 38, we get 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 13388.026315
Subtract 190 from 220 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 13:
38 can be fit into 300 7 times, resulting in a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 13388.0263157
If we take 266 away from 300, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 14:
If we divide 340 by 38, we get 8 and a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 13388.02631578
Subtract 304 from 340 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.

The final result is 13388.02631578 with a remainder of 3.6e-08.