4987607 divided by 158 
We're looking to find how many times 158 goes into 4987607.

Advancing to step 1:
158 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 158

Going ahead to step 2:
49 divided by 158 is 0 with a remainder of 49.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 49 to get 49.
Append the next digit (8) from the dividend to 49 and continue with: 498 / 158

Let's proceed to step 3:
If we divide 498 by 158, we get 3 and a remainder of 24.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 474 away from 498, we end up with 24.
Grab the next digit (7) from the dividend, add it to 24, then carry on: 247 / 158

Step 4:
247 divided by 158 is 1 with a remainder of 89.
Write down 1 as next digit of the result. 
Result so far: 31.0
The remainder is 89 after subtracting 158 from 247.
Append the next digit (6) from the dividend to 89 and continue with: 896 / 158

Advancing to step 5:
896 divided by 158 is 5 with a remainder of 106.
Record the quotient 5 as the next digit in the result. 
Result so far: 315.0
Subtract 790 from 896 to get 106.
Grab the next digit (0) from the dividend, add it to 106, then carry on: 1060 / 158

Moving on to step 6:
If we divide 1060 by 158, we get 6 and a remainder of 112.
Put 6 as the next digit of the answer. 
Result so far: 3156.0
Subtract 948 from 1060 to get 112.
Take the next digit (7) from the dividend and append it to 112, then repeat: 1127 / 158

Advancing to step 7:
158 goes into 1127 7 times with a remainder of 21.
The next digit of our result is 7. 
Result so far: 31567.0
Subtract 1106 from 1127 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 8:
158 goes into 210 1 times with a remainder of 52.
Put 1 as the next digit of the answer. 
Result so far: 31567.1
Subtracting 158 from 210 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 9:
158 goes into 520 3 times with a remainder of 46.
Put 3 as the next digit of the answer. 
Result so far: 31567.13
The remainder is 46 after subtracting 474 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 10:
158 goes into 460 2 times with a remainder of 144.
Put 2 as the next digit of the answer. 
Result so far: 31567.132
Subtract 316 from 460 to get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Moving on to step 11:
The number 158 fits into 1440 9 times, leaving a remainder of 18.
Use 9 as the next digit of our solution. 
Result so far: 31567.1329
Subtract 1422 from 1440 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 12:
158 goes into 180 1 times with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 31567.13291
Subtract 158 from 180 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 13:
158 goes into 220 1 times with a remainder of 62.
Write down 1 as next digit of the result. 
Result so far: 31567.132911
If we subtract 158 from 220, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

After the division, we end up with 31567.132911 and a remainder of 6.2e-06.