We're dividing 301171 by 42 
Let's see how many times 42 fits into 301171.

Moving on to step 1:
When dividing 3 by 42, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (0) from the dividend, attach it to 3 and continue: 30 / 42

Let's proceed to step 2:
The number 42 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Take the next digit (1) from the dividend and append it to 30, then repeat: 301 / 42

On to step 3:
42 can be fit into 301 7 times, resulting in a remainder of 7.
The next digit of our result is 7. 
Result so far: 7.0
Subtracting 294 from 301 leaves us with 7.
Append the next digit (1) from the dividend to 7 and continue with: 71 / 42

On to step 4:
If we divide 71 by 42, we get 1 and a remainder of 29.
Record the quotient 1 as the next digit in the result. 
Result so far: 71.0
The remainder is 29 after subtracting 42 from 71.
Grab the next digit (7) from the dividend, add it to 29, then carry on: 297 / 42

On to step 5:
When dividing 297 by 42, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 717.0
Subtracting 294 from 297 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 42

On to step 6:
The number 42 fits into 31 0 times, leaving a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 7170.0
If we subtract 0 from 31, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Step 7:
42 goes into 310 7 times with a remainder of 16.
Put 7 as the next digit of the answer. 
Result so far: 7170.7
If we subtract 294 from 310, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 8:
If we divide 160 by 42, we get 3 and a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 7170.73
If we take 126 away from 160, 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.

Moving on to step 9:
If we divide 340 by 42, we get 8 and a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 7170.738
The remainder is 4 after subtracting 336 from 340.
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 10:
The number 42 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 7170.738
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 11:
400 divided by 42 is 9 with a remainder of 22.
The next digit of our result is 9. 
Result so far: 7170.73809
Subtract 378 from 400 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.

Let's proceed to step 12:
The number 42 fits into 220 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 7170.738095
Subtracting 210 from 220 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.

On to step 13:
When dividing 100 by 42, we get 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 7170.7380952
Subtracting 84 from 100 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 14:
42 goes into 160 3 times with a remainder of 34.
Use 3 as the next digit of our solution. 
Result so far: 7170.73809523
The remainder is 34 after subtracting 126 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The quotient of the division is 7170.73809523, and the remainder is 3.4e-08.