42022018 ÷ 145 
Our goal is to divide 42022018 by 145.

Going ahead to step 1:
145 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 145

Going ahead to step 2:
The number 145 fits into 42 0 times, leaving a remainder of 42.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 42 and we're left with 42.
Take the next digit (0) from the dividend and append it to 42, then repeat: 420 / 145

Let's proceed to step 3:
The number 145 fits into 420 2 times, leaving a remainder of 130.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 290 away from 420, we end up with 130.
Take the next digit (2) from the dividend and append it to 130, then repeat: 1302 / 145

On to step 4:
If we divide 1302 by 145, we get 8 and a remainder of 142.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtract 1160 from 1302 to get 142.
Grab the next digit (2) from the dividend, add it to 142, then carry on: 1422 / 145

Step 5:
1422 divided by 145 is 9 with a remainder of 117.
Record the quotient 9 as the next digit in the result. 
Result so far: 289.0
Deduct 1305 from 1422 and we're left with 117.
Include the next digit (0) from the dividend after 117, then repeat: 1170 / 145

Moving on to step 6:
145 can be fit into 1170 8 times, resulting in a remainder of 10.
Record the quotient 8 as the next digit in the result. 
Result so far: 2898.0
Subtracting 1160 from 1170 leaves us with 10.
Include the next digit (1) from the dividend after 10, then repeat: 101 / 145

Going ahead to step 7:
If we divide 101 by 145, we get 0 and a remainder of 101.
Use 0 as the next digit of our solution. 
Result so far: 28980.0
If we take 0 away from 101, we end up with 101.
Fetch the next digit (8) from the dividend, attach it to 101 and continue: 1018 / 145

On to step 8:
If we divide 1018 by 145, we get 7 and a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 289807.0
If we take 1015 away from 1018, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 9:
When dividing 30 by 145, we get 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 289807.0
Deduct 0 from 30 and we're left 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.

Let's proceed to step 10:
The number 145 fits into 300 2 times, leaving a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 289807.02
Subtracting 290 from 300 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
145 goes into 100 0 times with a remainder of 100.
Write down 0 as next digit of the result. 
Result so far: 289807.02
Deduct 0 from 100 and we're left with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Step 12:
145 goes into 1000 6 times with a remainder of 130.
Use 6 as the next digit of our solution. 
Result so far: 289807.0206
If we take 870 away from 1000, we end up with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

On to step 13:
If we divide 1300 by 145, we get 8 and a remainder of 140.
Record the quotient 8 as the next digit in the result. 
Result so far: 289807.02068
If we take 1160 away from 1300, we end up with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

On to step 14:
The number 145 fits into 1400 9 times, leaving a remainder of 95.
Record the quotient 9 as the next digit in the result. 
Result so far: 289807.020689
Subtract 1305 from 1400 to get 95.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

On to step 15:
145 can be fit into 950 6 times, resulting in a remainder of 80.
Write down 6 as next digit of the result. 
Result so far: 289807.0206896
If we subtract 870 from 950, we get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 16:
800 divided by 145 is 5 with a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 289807.02068965
Deduct 725 from 800 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

The final outcome is 289807.02068965, with a leftover of 7.5e-08.