Let's divide 518987 by 41
We want to divide 518987 by 41.

Advancing to step 1:
41 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 41

Let's proceed to step 2:
When dividing 51 by 41, we get 1 with a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 10 after subtracting 41 from 51.
Bring next digit (8) of the dividend behind the 10 and repeat the process: 108 / 41

Let's proceed to step 3:
108 divided by 41 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Deduct 82 from 108 and we're left with 26.
Fetch the next digit (9) from the dividend, attach it to 26 and continue: 269 / 41

On to step 4:
41 goes into 269 6 times with a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 126.0
If we subtract 246 from 269, we get 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 41

Going ahead to step 5:
41 can be fit into 238 5 times, resulting in a remainder of 33.
The number 5 becomes the next digit in our result. 
Result so far: 1265.0
If we take 205 away from 238, we end up with 33.
Include the next digit (7) from the dividend after 33, then repeat: 337 / 41

Going ahead to step 6:
When dividing 337 by 41, we get 8 with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 12658.0
If we take 328 away from 337, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 7:
If we divide 90 by 41, we get 2 and a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 12658.2
If we take 82 away from 90, we end up 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:
41 can be fit into 80 1 times, resulting in a remainder of 39.
Record the quotient 1 as the next digit in the result. 
Result so far: 12658.21
The remainder is 39 after subtracting 41 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 9:
The number 41 fits into 390 9 times, leaving a remainder of 21.
The next digit of our result is 9. 
Result so far: 12658.219
Deduct 369 from 390 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 10:
When dividing 210 by 41, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 12658.2195
Subtract 205 from 210 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
If we divide 50 by 41, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 12658.21951
Deduct 41 from 50 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 12:
41 can be fit into 90 2 times, resulting in a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 12658.219512
Subtracting 82 from 90 leaves us 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.

Let's proceed to step 13:
80 divided by 41 is 1 with a remainder of 39.
Use 1 as the next digit of our solution. 
Result so far: 12658.2195121
If we subtract 41 from 80, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 14:
390 divided by 41 is 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 12658.21951219
If we take 369 away from 390, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 12658.21951219 with a remainder of 2.1e-08.