Let's divide 506161 by 41
Let's see how many times 41 fits into 506161.

Moving on to step 1:
41 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 41

Advancing to step 2:
41 can be fit into 50 1 times, resulting in a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 41 from 50 and we're left with 9.
Append the next digit (6) from the dividend to 9 and continue with: 96 / 41

Going ahead to step 3:
The number 41 fits into 96 2 times, leaving a remainder of 14.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 82 away from 96, we end up with 14.
Include the next digit (1) from the dividend after 14, then repeat: 141 / 41

Going ahead to step 4:
When dividing 141 by 41, we get 3 with a remainder of 18.
The number 3 becomes the next digit in our result. 
Result so far: 123.0
Deduct 123 from 141 and we're left with 18.
Fetch the next digit (6) from the dividend, attach it to 18 and continue: 186 / 41

On to step 5:
41 goes into 186 4 times with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 1234.0
The remainder is 22 after subtracting 164 from 186.
Take the next digit (1) from the dividend and append it to 22, then repeat: 221 / 41

Let's proceed to step 6:
221 divided by 41 is 5 with a remainder of 16.
Use 5 as the next digit of our solution. 
Result so far: 12345.0
If we take 205 away from 221, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 7:
The number 41 fits into 160 3 times, leaving a remainder of 37.
Write down 3 as next digit of the result. 
Result so far: 12345.3
Subtract 123 from 160 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 8:
370 divided by 41 is 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 12345.39
If we take 369 away from 370, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 9:
When dividing 10 by 41, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 12345.39
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
41 goes into 100 2 times with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 12345.3902
Subtracting 82 from 100 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 11:
When dividing 180 by 41, we get 4 with a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 12345.39024
If we subtract 164 from 180, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 12:
When dividing 160 by 41, we get 3 with a remainder of 37.
Use 3 as the next digit of our solution. 
Result so far: 12345.390243
The remainder is 37 after subtracting 123 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Step 13:
When dividing 370 by 41, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 12345.3902439
If we subtract 369 from 370, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 14:
The number 41 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 12345.3902439
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 12345.3902439 with a remainder of 1e-08.