We're dividing 50789 by 42 
We're looking to find how many times 42 goes into 50789.

Let's proceed to step 1:
If we divide 5 by 42, we get 0 and a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 42

Advancing to step 2:
42 can be fit into 50 1 times, resulting in a remainder of 8.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 42 from 50 and we're left with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 42

Let's proceed to step 3:
87 divided by 42 is 2 with a remainder of 3.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 84 from 87, we get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 42

Going ahead to step 4:
38 divided by 42 is 0 with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 120.0
The remainder is 38 after subtracting 0 from 38.
Take the next digit (9) from the dividend and append it to 38, then repeat: 389 / 42

Moving on to step 5:
If we divide 389 by 42, we get 9 and a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 1209.0
Deduct 378 from 389 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

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

Going ahead to step 7:
42 goes into 260 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 1209.26
Deduct 252 from 260 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
80 divided by 42 is 1 with a remainder of 38.
Put 1 as the next digit of the answer. 
Result so far: 1209.261
The remainder is 38 after subtracting 42 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 9:
When dividing 380 by 42, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 1209.2619
If we take 378 away from 380, 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 10:
42 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 1209.2619
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 11:
The number 42 fits into 200 4 times, leaving a remainder of 32.
Record the quotient 4 as the next digit in the result. 
Result so far: 1209.261904
The remainder is 32 after subtracting 168 from 200.
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 12:
The number 42 fits into 320 7 times, leaving a remainder of 26.
Write down 7 as next digit of the result. 
Result so far: 1209.2619047
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.

Going ahead to step 13:
When dividing 260 by 42, we get 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 1209.26190476
If we subtract 252 from 260, we 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.

The quotient of the division is 1209.26190476, and the remainder is 8e-09.