Let's divide 8126 by 42
We want to divide 8126 by 42.

Advancing to step 1:
8 divided by 42 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 42

On to step 2:
42 goes into 81 1 times with a remainder of 39.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 39 after subtracting 42 from 81.
Take the next digit (2) from the dividend and append it to 39, then repeat: 392 / 42

Advancing to step 3:
392 divided by 42 is 9 with a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 19.0
If we take 378 away from 392, we end up with 14.
Bring next digit (6) of the dividend behind the 14 and repeat the process: 146 / 42

Going ahead to step 4:
42 goes into 146 3 times with a remainder of 20.
Put 3 as the next digit of the answer. 
Result so far: 193.0
The remainder is 20 after subtracting 126 from 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 5:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Put 4 as the next digit of the answer. 
Result so far: 193.4
Subtracting 168 from 200 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 6:
42 goes into 320 7 times with a remainder of 26.
The next digit of our result is 7. 
Result so far: 193.47
The remainder is 26 after subtracting 294 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
When dividing 260 by 42, we get 6 with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 193.476
Subtract 252 from 260 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
42 can be fit into 80 1 times, resulting in a remainder of 38.
Write down 1 as next digit of the result. 
Result so far: 193.4761
If we take 42 away from 80, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 9:
When dividing 380 by 42, we get 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 193.47619
Subtracting 378 from 380 leaves us 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.

Advancing to step 10:
42 can be fit into 20 0 times, resulting in a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 193.47619
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
42 can be fit into 200 4 times, resulting in a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 193.4761904
Deduct 168 from 200 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 12:
42 goes into 320 7 times with a remainder of 26.
The next digit of our result is 7. 
Result so far: 193.47619047
Subtracting 294 from 320 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 193.47619047 with a remainder of 2.6e-08.