517789 divided by 38 
Let's see how many times 38 fits into 517789.

Advancing to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 38

On to step 2:
38 goes into 51 1 times with a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 38 away from 51, we end up with 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 38

On to step 3:
If we divide 137 by 38, we get 3 and a remainder of 23.
Put 3 as the next digit of the answer. 
Result so far: 13.0
If we take 114 away from 137, we end up with 23.
Bring next digit (7) of the dividend behind the 23 and repeat the process: 237 / 38

Going ahead to step 4:
The number 38 fits into 237 6 times, leaving a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 136.0
If we subtract 228 from 237, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 38

Let's proceed to step 5:
When dividing 98 by 38, we get 2 with a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 1362.0
Subtracting 76 from 98 leaves us with 22.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 38

Going ahead to step 6:
38 goes into 229 6 times with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 13626.0
Subtract 228 from 229 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
The number 38 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 13626.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
38 can be fit into 100 2 times, resulting in a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 13626.02
The remainder is 24 after subtracting 76 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 9:
38 can be fit into 240 6 times, resulting in a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 13626.026
If we take 228 away from 240, we end up 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.

Let's proceed to step 10:
The number 38 fits into 120 3 times, leaving a remainder of 6.
Write down 3 as next digit of the result. 
Result so far: 13626.0263
Subtracting 114 from 120 leaves us 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.

Let's proceed to step 11:
When dividing 60 by 38, we get 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 13626.02631
Subtract 38 from 60 to 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.

Advancing to step 12:
When dividing 220 by 38, we get 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 13626.026315
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
When dividing 300 by 38, we get 7 with a remainder of 34.
The next digit of our result is 7. 
Result so far: 13626.0263157
Deduct 266 from 300 and we're left 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.

Let's proceed to step 14:
38 goes into 340 8 times with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 13626.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 outcome is 13626.02631578, with a leftover of 3.6e-08.