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

Moving on to step 1:
The number 161 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (0) from the dividend to 9 and continue with: 90 / 161

Going ahead to step 2:
90 divided by 161 is 0 with a remainder of 90.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 90 leaves us with 90.
Append the next digit (0) from the dividend to 90 and continue with: 900 / 161

Moving on to step 3:
The number 161 fits into 900 5 times, leaving a remainder of 95.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Deduct 805 from 900 and we're left with 95.
Fetch the next digit (4) from the dividend, attach it to 95 and continue: 954 / 161

On to step 4:
The number 161 fits into 954 5 times, leaving a remainder of 149.
Record the quotient 5 as the next digit in the result. 
Result so far: 55.0
If we take 805 away from 954, we end up with 149.
Append the next digit (1) from the dividend to 149 and continue with: 1491 / 161

Advancing to step 5:
If we divide 1491 by 161, we get 9 and a remainder of 42.
Put 9 as the next digit of the answer. 
Result so far: 559.0
If we take 1449 away from 1491, we end up with 42.
Append the next digit (2) from the dividend to 42 and continue with: 422 / 161

Moving on to step 6:
161 can be fit into 422 2 times, resulting in a remainder of 100.
Use 2 as the next digit of our solution. 
Result so far: 5592.0
Subtract 322 from 422 to get 100.
Include the next digit (5) from the dividend after 100, then repeat: 1005 / 161

Let's proceed to step 7:
161 goes into 1005 6 times with a remainder of 39.
Record the quotient 6 as the next digit in the result. 
Result so far: 55926.0
The remainder is 39 after subtracting 966 from 1005.
Fetch the next digit (7) from the dividend, attach it to 39 and continue: 397 / 161

Advancing to step 8:
The number 161 fits into 397 2 times, leaving a remainder of 75.
The next digit of our result is 2. 
Result so far: 559262.0
Subtracting 322 from 397 leaves us with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

On to step 9:
750 divided by 161 is 4 with a remainder of 106.
Put 4 as the next digit of the answer. 
Result so far: 559262.4
Subtracting 644 from 750 leaves us with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

Advancing to step 10:
161 goes into 1060 6 times with a remainder of 94.
The next digit of our result is 6. 
Result so far: 559262.46
The remainder is 94 after subtracting 966 from 1060.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Moving on to step 11:
161 goes into 940 5 times with a remainder of 135.
Write down 5 as next digit of the result. 
Result so far: 559262.465
If we subtract 805 from 940, we get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Moving on to step 12:
161 goes into 1350 8 times with a remainder of 62.
Put 8 as the next digit of the answer. 
Result so far: 559262.4658
Subtracting 1288 from 1350 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 13:
The number 161 fits into 620 3 times, leaving a remainder of 137.
Use 3 as the next digit of our solution. 
Result so far: 559262.46583
If we take 483 away from 620, we end up with 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Advancing to step 14:
When dividing 1370 by 161, we get 8 with a remainder of 82.
Put 8 as the next digit of the answer. 
Result so far: 559262.465838
Deduct 1288 from 1370 and we're left with 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 15:
161 can be fit into 820 5 times, resulting in a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 559262.4658385
If we subtract 805 from 820, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 16:
If we divide 150 by 161, we get 0 and a remainder of 150.
Use 0 as the next digit of our solution. 
Result so far: 559262.4658385
If we subtract 0 from 150, we get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Our division results in 559262.4658385 with a remaining 1.5e-07.