We look at the division of 42045 by 7 
Let's see how many times 7 fits into 42045.

On to step 1:
The number 7 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 7

Let's proceed to step 2:
The number 7 fits into 42 6 times, leaving a remainder of 0.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 0 after subtracting 42 from 42.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 7

Advancing to step 3:
0 divided by 7 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
If we take 0 away from 0, we end up with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 7

Step 4:
7 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 600.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 7

Going ahead to step 5:
7 can be fit into 45 6 times, resulting in a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 6006.0
If we subtract 42 from 45, 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.

Step 6:
7 can be fit into 30 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 6006.4
If we take 28 away from 30, 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.

On to step 7:
20 divided by 7 is 2 with a remainder of 6.
Put 2 as the next digit of the answer. 
Result so far: 6006.42
Deduct 14 from 20 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
When dividing 60 by 7, we get 8 with a remainder of 4.
Put 8 as the next digit of the answer. 
Result so far: 6006.428
Deduct 56 from 60 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
40 divided by 7 is 5 with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 6006.4285
Subtracting 35 from 40 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 10:
50 divided by 7 is 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 6006.42857
If we subtract 49 from 50, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 11:
When dividing 10 by 7, we get 1 with a remainder of 3.
The next digit of our result is 1. 
Result so far: 6006.428571
If we take 7 away from 10, 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.

Moving on to step 12:
If we divide 30 by 7, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 6006.4285714
If we take 28 away from 30, 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.

On to step 13:
The number 7 fits into 20 2 times, leaving a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 6006.42857142
If we subtract 14 from 20, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 6006.42857142 with a remainder of 6e-09.