We're dividing 51217 by 18 
Our goal is to divide 51217 by 18.

Going ahead to step 1:
When dividing 5 by 18, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 18

On to step 2:
18 goes into 51 2 times with a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtracting 36 from 51 leaves us with 15.
Take the next digit (2) from the dividend and append it to 15, then repeat: 152 / 18

Let's proceed to step 3:
18 goes into 152 8 times with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 28.0
Deduct 144 from 152 and we're left with 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 18

Let's proceed to step 4:
18 goes into 81 4 times with a remainder of 9.
The next digit of our result is 4. 
Result so far: 284.0
The remainder is 9 after subtracting 72 from 81.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 18

Step 5:
When dividing 97 by 18, we get 5 with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 2845.0
Subtracting 90 from 97 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 6:
When dividing 70 by 18, we get 3 with a remainder of 16.
Put 3 as the next digit of the answer. 
Result so far: 2845.3
If we subtract 54 from 70, 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.

Going ahead to step 7:
18 goes into 160 8 times with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 2845.38
If we subtract 144 from 160, 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.

Advancing to step 8:
When dividing 160 by 18, we get 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 2845.388
If we take 144 away from 160, 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.

The final outcome is 2845.388, with a leftover of 0.0016.