Let's divide 879766 by 18
We're looking to find how many times 18 goes into 879766.

Step 1:
18 goes into 8 0 times with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 18

Going ahead to step 2:
When dividing 87 by 18, we get 4 with a remainder of 15.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 72 from 87 leaves us with 15.
Include the next digit (9) from the dividend after 15, then repeat: 159 / 18

Going ahead to step 3:
18 can be fit into 159 8 times, resulting in a remainder of 15.
The number 8 becomes the next digit in our result. 
Result so far: 48.0
If we subtract 144 from 159, we get 15.
Grab the next digit (7) from the dividend, add it to 15, then carry on: 157 / 18

Let's proceed to step 4:
When dividing 157 by 18, we get 8 with a remainder of 13.
The number 8 becomes the next digit in our result. 
Result so far: 488.0
If we take 144 away from 157, we end up with 13.
Bring next digit (6) of the dividend behind the 13 and repeat the process: 136 / 18

On to step 5:
The number 18 fits into 136 7 times, leaving a remainder of 10.
Record the quotient 7 as the next digit in the result. 
Result so far: 4887.0
Subtract 126 from 136 to get 10.
Append the next digit (6) from the dividend to 10 and continue with: 106 / 18

On to step 6:
18 can be fit into 106 5 times, resulting in a remainder of 16.
Record the quotient 5 as the next digit in the result. 
Result so far: 48875.0
Deduct 90 from 106 and we're left 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.

Step 7:
160 divided by 18 is 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 48875.8
Subtracting 144 from 160 leaves us 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.

Moving on to step 8:
The number 18 fits into 160 8 times, leaving a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 48875.88
Subtract 144 from 160 to 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.

The quotient of the division is 48875.88, and the remainder is 0.016.