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

Moving on to step 1:
The number 142 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
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 / 142

Let's proceed to step 2:
The number 142 fits into 31 0 times, leaving 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.
Append the next digit (5) from the dividend to 31 and continue with: 315 / 142

Let's proceed to step 3:
The number 142 fits into 315 2 times, leaving a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 31 after subtracting 284 from 315.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 142

Step 4:
142 can be fit into 313 2 times, resulting in a remainder of 29.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtract 284 from 313 to get 29.
Append the next digit (0) from the dividend to 29 and continue with: 290 / 142

On to step 5:
142 goes into 290 2 times with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 222.0
If we take 284 away from 290, we end up with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 142

Going ahead to step 6:
67 divided by 142 is 0 with a remainder of 67.
The next digit of our result is 0. 
Result so far: 2220.0
The remainder is 67 after subtracting 0 from 67.
Take the next digit (9) from the dividend and append it to 67, then repeat: 679 / 142

Step 7:
The number 142 fits into 679 4 times, leaving a remainder of 111.
The next digit of our result is 4. 
Result so far: 22204.0
If we take 568 away from 679, we end up with 111.
Include the next digit (8) from the dividend after 111, then repeat: 1118 / 142

On to step 8:
1118 divided by 142 is 7 with a remainder of 124.
Put 7 as the next digit of the answer. 
Result so far: 222047.0
If we take 994 away from 1118, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Step 9:
1240 divided by 142 is 8 with a remainder of 104.
The next digit of our result is 8. 
Result so far: 222047.8
The remainder is 104 after subtracting 1136 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

On to step 10:
The number 142 fits into 1040 7 times, leaving a remainder of 46.
Use 7 as the next digit of our solution. 
Result so far: 222047.87
Subtracting 994 from 1040 leaves us with 46.
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 11:
142 can be fit into 460 3 times, resulting in a remainder of 34.
Put 3 as the next digit of the answer. 
Result so far: 222047.873
If we take 426 away from 460, we end up with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 12:
142 goes into 340 2 times with a remainder of 56.
Put 2 as the next digit of the answer. 
Result so far: 222047.8732
Subtracting 284 from 340 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 13:
142 goes into 560 3 times with a remainder of 134.
Record the quotient 3 as the next digit in the result. 
Result so far: 222047.87323
Deduct 426 from 560 and we're left with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Let's proceed to step 14:
142 can be fit into 1340 9 times, resulting in a remainder of 62.
The number 9 becomes the next digit in our result. 
Result so far: 222047.873239
Deduct 1278 from 1340 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 15:
The number 142 fits into 620 4 times, leaving a remainder of 52.
Use 4 as the next digit of our solution. 
Result so far: 222047.8732394
Deduct 568 from 620 and we're left 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.

Going ahead to step 16:
142 can be fit into 520 3 times, resulting in a remainder of 94.
Put 3 as the next digit of the answer. 
Result so far: 222047.87323943
If we subtract 426 from 520, we get 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

The quotient of the division is 222047.87323943, and the remainder is 9.4e-08.