Let's divide 334836 by 42
We're looking to find how many times 42 goes into 334836.

Step 1:
42 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (3) from the dividend, attach it to 3 and continue: 33 / 42

Advancing to step 2:
33 divided by 42 is 0 with a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Take the next digit (4) from the dividend and append it to 33, then repeat: 334 / 42

On to step 3:
334 divided by 42 is 7 with a remainder of 40.
Use 7 as the next digit of our solution. 
Result so far: 7.0
If we subtract 294 from 334, we get 40.
Fetch the next digit (8) from the dividend, attach it to 40 and continue: 408 / 42

Let's proceed to step 4:
The number 42 fits into 408 9 times, leaving a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 79.0
Subtracting 378 from 408 leaves us with 30.
Append the next digit (3) from the dividend to 30 and continue with: 303 / 42

Let's proceed to step 5:
303 divided by 42 is 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 797.0
The remainder is 9 after subtracting 294 from 303.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 42

Moving on to step 6:
42 goes into 96 2 times with a remainder of 12.
The next digit of our result is 2. 
Result so far: 7972.0
Subtract 84 from 96 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
When dividing 120 by 42, we get 2 with a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 7972.2
Deduct 84 from 120 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 8:
When dividing 360 by 42, we get 8 with a remainder of 24.
The next digit of our result is 8. 
Result so far: 7972.28
If we take 336 away from 360, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
When dividing 240 by 42, we get 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 7972.285
Subtracting 210 from 240 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.

Moving on to step 10:
If we divide 300 by 42, we get 7 and a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 7972.2857
The remainder is 6 after subtracting 294 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 11:
42 can be fit into 60 1 times, resulting in a remainder of 18.
The next digit of our result is 1. 
Result so far: 7972.28571
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 12:
42 can be fit into 180 4 times, resulting in a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 7972.285714
Subtracting 168 from 180 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 13:
The number 42 fits into 120 2 times, leaving a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 7972.2857142
The remainder is 36 after subtracting 84 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 14:
When dividing 360 by 42, we get 8 with a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 7972.28571428
If we take 336 away from 360, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Our division results in 7972.28571428 with a remaining 2.4e-08.