We divide 511586 by 38
Let's see how many times 38 fits into 511586.

Advancing to step 1:
When dividing 5 by 38, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 38

Step 2:
38 goes into 51 1 times with a remainder of 13.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 38 from 51, we get 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 38

Let's proceed to step 3:
The number 38 fits into 131 3 times, leaving a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 13.0
Deduct 114 from 131 and we're left with 17.
Take the next digit (5) from the dividend and append it to 17, then repeat: 175 / 38

Step 4:
If we divide 175 by 38, we get 4 and a remainder of 23.
Put 4 as the next digit of the answer. 
Result so far: 134.0
If we take 152 away from 175, we end up with 23.
Append the next digit (8) from the dividend to 23 and continue with: 238 / 38

Advancing to step 5:
When dividing 238 by 38, we get 6 with a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 1346.0
If we subtract 228 from 238, we get 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 38

On to step 6:
When dividing 106 by 38, we get 2 with a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 13462.0
If we subtract 76 from 106, we 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.

Let's proceed to step 7:
38 goes into 300 7 times with a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 13462.7
Subtracting 266 from 300 leaves us 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 8:
340 divided by 38 is 8 with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 13462.78
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 9:
If we divide 360 by 38, we get 9 and a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 13462.789
Deduct 342 from 360 and we're left 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.

Moving on to step 10:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 13462.7894
Subtract 152 from 180 to 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.

On to step 11:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 13462.78947
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.

Moving on to step 12:
38 goes into 140 3 times with a remainder of 26.
The next digit of our result is 3. 
Result so far: 13462.789473
Subtracting 114 from 140 leaves us 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.

Moving on to step 13:
38 goes into 260 6 times with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 13462.7894736
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.

Moving on to step 14:
320 divided by 38 is 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 13462.78947368
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.

The quotient of the division is 13462.78947368, and the remainder is 1.6e-08.