We look at the division of 42798850 by 161 
Our goal is to divide 42798850 by 161.

Going ahead to step 1:
If we divide 4 by 161, we get 0 and a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 161

Moving on to step 2:
The number 161 fits into 42 0 times, leaving a remainder of 42.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 42 and we're left with 42.
Take the next digit (7) from the dividend and append it to 42, then repeat: 427 / 161

Advancing to step 3:
When dividing 427 by 161, we get 2 with a remainder of 105.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 322 from 427 and we're left with 105.
Grab the next digit (9) from the dividend, add it to 105, then carry on: 1059 / 161

Moving on to step 4:
If we divide 1059 by 161, we get 6 and a remainder of 93.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Deduct 966 from 1059 and we're left with 93.
Fetch the next digit (8) from the dividend, attach it to 93 and continue: 938 / 161

Going ahead to step 5:
The number 161 fits into 938 5 times, leaving a remainder of 133.
The next digit of our result is 5. 
Result so far: 265.0
The remainder is 133 after subtracting 805 from 938.
Take the next digit (8) from the dividend and append it to 133, then repeat: 1338 / 161

Moving on to step 6:
If we divide 1338 by 161, we get 8 and a remainder of 50.
Write down 8 as next digit of the result. 
Result so far: 2658.0
Subtract 1288 from 1338 to get 50.
Include the next digit (5) from the dividend after 50, then repeat: 505 / 161

Advancing to step 7:
When dividing 505 by 161, we get 3 with a remainder of 22.
The number 3 becomes the next digit in our result. 
Result so far: 26583.0
Subtract 483 from 505 to get 22.
Fetch the next digit (0) from the dividend, attach it to 22 and continue: 220 / 161

Let's proceed to step 8:
220 divided by 161 is 1 with a remainder of 59.
Put 1 as the next digit of the answer. 
Result so far: 265831.0
Subtracting 161 from 220 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

On to step 9:
If we divide 590 by 161, we get 3 and a remainder of 107.
The number 3 becomes the next digit in our result. 
Result so far: 265831.3
Subtracting 483 from 590 leaves us with 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

On to step 10:
If we divide 1070 by 161, we get 6 and a remainder of 104.
The number 6 becomes the next digit in our result. 
Result so far: 265831.36
Subtract 966 from 1070 to get 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Advancing to step 11:
When dividing 1040 by 161, we get 6 with a remainder of 74.
The next digit of our result is 6. 
Result so far: 265831.366
The remainder is 74 after subtracting 966 from 1040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

The quotient of the division is 265831.366, and the remainder is 0.0074.