We look at the division of 42710771 by 123 
We're looking to find how many times 123 goes into 42710771.

Going ahead to step 1:
When dividing 4 by 123, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 123

Moving on to step 2:
123 can be fit into 42 0 times, resulting in a remainder of 42.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 42 to get 42.
Fetch the next digit (7) from the dividend, attach it to 42 and continue: 427 / 123

Step 3:
If we divide 427 by 123, we get 3 and a remainder of 58.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
If we subtract 369 from 427, we get 58.
Append the next digit (1) from the dividend to 58 and continue with: 581 / 123

Moving on to step 4:
The number 123 fits into 581 4 times, leaving a remainder of 89.
Write down 4 as next digit of the result. 
Result so far: 34.0
If we subtract 492 from 581, we get 89.
Grab the next digit (0) from the dividend, add it to 89, then carry on: 890 / 123

Advancing to step 5:
If we divide 890 by 123, we get 7 and a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 347.0
If we take 861 away from 890, we end up with 29.
Include the next digit (7) from the dividend after 29, then repeat: 297 / 123

Advancing to step 6:
123 goes into 297 2 times with a remainder of 51.
The number 2 becomes the next digit in our result. 
Result so far: 3472.0
Deduct 246 from 297 and we're left with 51.
Include the next digit (7) from the dividend after 51, then repeat: 517 / 123

Let's proceed to step 7:
123 goes into 517 4 times with a remainder of 25.
Use 4 as the next digit of our solution. 
Result so far: 34724.0
If we take 492 away from 517, we end up with 25.
Append the next digit (1) from the dividend to 25 and continue with: 251 / 123

Let's proceed to step 8:
123 can be fit into 251 2 times, resulting in a remainder of 5.
The next digit of our result is 2. 
Result so far: 347242.0
If we take 246 away from 251, we end up 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.

Going ahead to step 9:
123 goes into 50 0 times with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 347242.0
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 10:
When dividing 500 by 123, we get 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 347242.04
The remainder is 8 after subtracting 492 from 500.
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 11:
80 divided by 123 is 0 with a remainder of 80.
Write down 0 as next digit of the result. 
Result so far: 347242.04
If we take 0 away from 80, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 12:
The number 123 fits into 800 6 times, leaving a remainder of 62.
Record the quotient 6 as the next digit in the result. 
Result so far: 347242.0406
Subtract 738 from 800 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 13:
If we divide 620 by 123, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 347242.04065
Deduct 615 from 620 and we're left 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.

On to step 14:
If we divide 50 by 123, we get 0 and a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 347242.04065
Subtract 0 from 50 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 15:
When dividing 500 by 123, we get 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 347242.0406504
The remainder is 8 after subtracting 492 from 500.
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 16:
80 divided by 123 is 0 with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 347242.0406504
If we take 0 away from 80, we end up with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

The final outcome is 347242.0406504, with a leftover of 8e-08.