We divide 31341041 by 158
We want to figure out the number of times 31341041 can be divided by 158.

Advancing to step 1:
3 divided by 158 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 158

Moving on to step 2:
When dividing 31 by 158, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 158

Advancing to step 3:
158 can be fit into 313 1 times, resulting in a remainder of 155.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 158 from 313 leaves us with 155.
Grab the next digit (4) from the dividend, add it to 155, then carry on: 1554 / 158

Going ahead to step 4:
If we divide 1554 by 158, we get 9 and a remainder of 132.
Put 9 as the next digit of the answer. 
Result so far: 19.0
Deduct 1422 from 1554 and we're left with 132.
Bring next digit (1) of the dividend behind the 132 and repeat the process: 1321 / 158

Advancing to step 5:
158 can be fit into 1321 8 times, resulting in a remainder of 57.
Put 8 as the next digit of the answer. 
Result so far: 198.0
Subtracting 1264 from 1321 leaves us with 57.
Bring next digit (0) of the dividend behind the 57 and repeat the process: 570 / 158

Moving on to step 6:
158 goes into 570 3 times with a remainder of 96.
Use 3 as the next digit of our solution. 
Result so far: 1983.0
Deduct 474 from 570 and we're left with 96.
Grab the next digit (4) from the dividend, add it to 96, then carry on: 964 / 158

Moving on to step 7:
158 can be fit into 964 6 times, resulting in a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 19836.0
If we subtract 948 from 964, we get 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 158

Let's proceed to step 8:
When dividing 161 by 158, we get 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 198361.0
If we subtract 158 from 161, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 9:
When dividing 30 by 158, we get 0 with a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 198361.0
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 10:
If we divide 300 by 158, we get 1 and a remainder of 142.
The next digit of our result is 1. 
Result so far: 198361.01
If we subtract 158 from 300, we get 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Let's proceed to step 11:
158 goes into 1420 8 times with a remainder of 156.
The number 8 becomes the next digit in our result. 
Result so far: 198361.018
Subtracting 1264 from 1420 leaves us with 156.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1560, and continue the process.

Moving on to step 12:
The number 158 fits into 1560 9 times, leaving a remainder of 138.
The next digit of our result is 9. 
Result so far: 198361.0189
Subtracting 1422 from 1560 leaves us with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Step 13:
158 goes into 1380 8 times with a remainder of 116.
Write down 8 as next digit of the result. 
Result so far: 198361.01898
The remainder is 116 after subtracting 1264 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Moving on to step 14:
158 goes into 1160 7 times with a remainder of 54.
Record the quotient 7 as the next digit in the result. 
Result so far: 198361.018987
If we take 1106 away from 1160, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 15:
158 goes into 540 3 times with a remainder of 66.
Put 3 as the next digit of the answer. 
Result so far: 198361.0189873
Deduct 474 from 540 and we're left with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Going ahead to step 16:
When dividing 660 by 158, we get 4 with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 198361.01898734
Subtracting 632 from 660 leaves us 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.

After the division, we end up with 198361.01898734 and a remainder of 2.8e-08.