We look at the division of 5158216 by 418 
We want to figure out the number of times 5158216 can be divided by 418.

Step 1:
When dividing 5 by 418, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 418

Going ahead to step 2:
418 goes into 51 0 times with a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Take the next digit (5) from the dividend and append it to 51, then repeat: 515 / 418

Moving on to step 3:
418 can be fit into 515 1 times, resulting in a remainder of 97.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 418 from 515 and we're left with 97.
Fetch the next digit (8) from the dividend, attach it to 97 and continue: 978 / 418

Advancing to step 4:
418 goes into 978 2 times with a remainder of 142.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
Subtract 836 from 978 to get 142.
Bring next digit (2) of the dividend behind the 142 and repeat the process: 1422 / 418

Moving on to step 5:
1422 divided by 418 is 3 with a remainder of 168.
Put 3 as the next digit of the answer. 
Result so far: 123.0
Deduct 1254 from 1422 and we're left with 168.
Append the next digit (1) from the dividend to 168 and continue with: 1681 / 418

Step 6:
If we divide 1681 by 418, we get 4 and a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 1234.0
Deduct 1672 from 1681 and we're left with 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 418

Advancing to step 7:
418 can be fit into 96 0 times, resulting in a remainder of 96.
Use 0 as the next digit of our solution. 
Result so far: 12340.0
Subtracting 0 from 96 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 8:
When dividing 960 by 418, we get 2 with a remainder of 124.
Use 2 as the next digit of our solution. 
Result so far: 12340.2
If we subtract 836 from 960, we get 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Let's proceed to step 9:
418 can be fit into 1240 2 times, resulting in a remainder of 404.
Record the quotient 2 as the next digit in the result. 
Result so far: 12340.22
Subtracting 836 from 1240 leaves us with 404.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4040, and continue the process.

Our division results in 12340.22 with a remaining 0.404.