We look at the division of 583731 by 38 
Let's see how many times 38 fits into 583731.

Step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 38

Advancing to step 2:
38 goes into 58 1 times with a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 38 from 58 leaves us with 20.
Bring next digit (3) of the dividend behind the 20 and repeat the process: 203 / 38

Advancing to step 3:
38 goes into 203 5 times with a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 15.0
If we take 190 away from 203, we end up with 13.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 38

Going ahead to step 4:
137 divided by 38 is 3 with a remainder of 23.
The next digit of our result is 3. 
Result so far: 153.0
The remainder is 23 after subtracting 114 from 137.
Take the next digit (3) from the dividend and append it to 23, then repeat: 233 / 38

Advancing to step 5:
When dividing 233 by 38, we get 6 with a remainder of 5.
Put 6 as the next digit of the answer. 
Result so far: 1536.0
The remainder is 5 after subtracting 228 from 233.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 38

Advancing to step 6:
38 can be fit into 51 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 15361.0
Deduct 38 from 51 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
38 goes into 130 3 times with a remainder of 16.
The number 3 becomes the next digit in our result. 
Result so far: 15361.3
Subtract 114 from 130 to 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.

Step 8:
If we divide 160 by 38, we get 4 and a remainder of 8.
The next digit of our result is 4. 
Result so far: 15361.34
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.

Going ahead to step 9:
If we divide 80 by 38, we get 2 and a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 15361.342
If we subtract 76 from 80, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 10:
38 goes into 40 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 15361.3421
If we subtract 38 from 40, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 11:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 15361.3421
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
The number 38 fits into 200 5 times, leaving a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 15361.342105
The remainder is 10 after subtracting 190 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 13:
The number 38 fits into 100 2 times, leaving a remainder of 24.
Write down 2 as next digit of the result. 
Result so far: 15361.3421052
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.

Going ahead to step 14:
If we divide 240 by 38, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 15361.34210526
Subtracting 228 from 240 leaves us 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.

In conclusion, the division gives 15361.34210526 with a balance of 1.2e-08.