Let's divide 587118 by 37
We're looking to find how many times 37 goes into 587118.

Moving on to step 1:
5 divided by 37 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 37

Step 2:
If we divide 58 by 37, we get 1 and a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 37 away from 58, we end up with 21.
Append the next digit (7) from the dividend to 21 and continue with: 217 / 37

Step 3:
When dividing 217 by 37, we get 5 with a remainder of 32.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtract 185 from 217 to get 32.
Include the next digit (1) from the dividend after 32, then repeat: 321 / 37

Moving on to step 4:
When dividing 321 by 37, we get 8 with a remainder of 25.
Write down 8 as next digit of the result. 
Result so far: 158.0
Subtracting 296 from 321 leaves us with 25.
Grab the next digit (1) from the dividend, add it to 25, then carry on: 251 / 37

Advancing to step 5:
37 goes into 251 6 times with a remainder of 29.
Record the quotient 6 as the next digit in the result. 
Result so far: 1586.0
The remainder is 29 after subtracting 222 from 251.
Bring next digit (8) of the dividend behind the 29 and repeat the process: 298 / 37

Advancing to step 6:
298 divided by 37 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 15868.0
If we take 296 away from 298, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
The number 37 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 15868.0
If we take 0 away from 20, we end up 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.

Let's proceed to step 8:
200 divided by 37 is 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 15868.05
Deduct 185 from 200 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 9:
150 divided by 37 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 15868.054
Deduct 148 from 150 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 10:
The number 37 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 15868.054
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.

On to step 11:
200 divided by 37 is 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 15868.05405
If we take 185 away from 200, we end up with 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 12:
If we divide 150 by 37, we get 4 and a remainder of 2.
The next digit of our result is 4. 
Result so far: 15868.054054
Subtract 148 from 150 to 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 13:
37 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 15868.054054
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.

Moving on to step 14:
37 can be fit into 200 5 times, resulting in a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 15868.05405405
Deduct 185 from 200 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 15868.05405405, and the remainder is 1.5e-08.