We're dividing 585899 by 38 
We want to figure out the number of times 585899 can be divided by 38.

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.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 38

Moving on to step 2:
38 can be fit into 58 1 times, resulting in a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 20 after subtracting 38 from 58.
Append the next digit (5) from the dividend to 20 and continue with: 205 / 38

Let's proceed to step 3:
205 divided by 38 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 15.0
If we subtract 190 from 205, we get 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 38

Let's proceed to step 4:
The number 38 fits into 158 4 times, leaving a remainder of 6.
The next digit of our result is 4. 
Result so far: 154.0
Subtract 152 from 158 to get 6.
Append the next digit (9) from the dividend to 6 and continue with: 69 / 38

Moving on to step 5:
The number 38 fits into 69 1 times, leaving a remainder of 31.
Record the quotient 1 as the next digit in the result. 
Result so far: 1541.0
The remainder is 31 after subtracting 38 from 69.
Append the next digit (9) from the dividend to 31 and continue with: 319 / 38

Going ahead to step 6:
The number 38 fits into 319 8 times, leaving a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 15418.0
Subtract 304 from 319 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
38 can be fit into 150 3 times, resulting in a remainder of 36.
Record the quotient 3 as the next digit in the result. 
Result so far: 15418.3
Deduct 114 from 150 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.

Step 8:
360 divided by 38 is 9 with a remainder of 18.
Write down 9 as next digit of the result. 
Result so far: 15418.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.

Moving on to step 9:
180 divided by 38 is 4 with a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 15418.394
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.

Advancing to step 10:
38 goes into 280 7 times with a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 15418.3947
Subtracting 266 from 280 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 11:
When dividing 140 by 38, we get 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 15418.39473
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.

Going ahead to step 12:
260 divided by 38 is 6 with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 15418.394736
The remainder is 32 after subtracting 228 from 260.
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:
38 goes into 320 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 15418.3947368
Deduct 304 from 320 and we're left 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.

Going ahead to step 14:
The number 38 fits into 160 4 times, leaving a remainder of 8.
The next digit of our result is 4. 
Result so far: 15418.39473684
Subtract 152 from 160 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

After the division, we end up with 15418.39473684 and a remainder of 8e-09.