We're dividing 517366 by 38 
We want to divide 517366 by 38.

Advancing to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 38

Going ahead to step 2:
If we divide 51 by 38, we get 1 and a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 38 from 51 to get 13.
Include the next digit (7) from the dividend after 13, then repeat: 137 / 38

Going ahead to step 3:
38 can be fit into 137 3 times, resulting in a remainder of 23.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we subtract 114 from 137, we get 23.
Append the next digit (3) from the dividend to 23 and continue with: 233 / 38

Let's proceed to step 4:
The number 38 fits into 233 6 times, leaving a remainder of 5.
The number 6 becomes the next digit in our result. 
Result so far: 136.0
Subtract 228 from 233 to get 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 38

On to step 5:
38 goes into 56 1 times with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 1361.0
Deduct 38 from 56 and we're left with 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 38

Step 6:
If we divide 186 by 38, we get 4 and a remainder of 34.
Use 4 as the next digit of our solution. 
Result so far: 13614.0
If we take 152 away from 186, 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.

Going ahead to step 7:
If we divide 340 by 38, we get 8 and a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 13614.8
Deduct 304 from 340 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 8:
38 can be fit into 360 9 times, resulting in a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 13614.89
The remainder is 18 after subtracting 342 from 360.
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:
The number 38 fits into 180 4 times, leaving a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 13614.894
If we take 152 away from 180, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 10:
If we divide 280 by 38, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 13614.8947
If we subtract 266 from 280, we 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.

Let's proceed to step 11:
If we divide 140 by 38, we get 3 and a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 13614.89473
Deduct 114 from 140 and we're left 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.

On to step 12:
The number 38 fits into 260 6 times, leaving a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 13614.894736
If we take 228 away from 260, we end up 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.

Step 13:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 13614.8947368
If we subtract 304 from 320, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
The number 38 fits into 160 4 times, leaving a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 13614.89473684
If we take 152 away from 160, we end up 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 outcome is 13614.89473684, with a leftover of 8e-09.