We look at the division of 8227768 by 666 
We're looking to find how many times 666 goes into 8227768.

Moving on to step 1:
8 divided by 666 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 666

Advancing to step 2:
The number 666 fits into 82 0 times, leaving a remainder of 82.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 82 leaves us with 82.
Append the next digit (2) from the dividend to 82 and continue with: 822 / 666

Advancing to step 3:
The number 666 fits into 822 1 times, leaving a remainder of 156.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 666 from 822 to get 156.
Append the next digit (7) from the dividend to 156 and continue with: 1567 / 666

On to step 4:
The number 666 fits into 1567 2 times, leaving a remainder of 235.
Write down 2 as next digit of the result. 
Result so far: 12.0
The remainder is 235 after subtracting 1332 from 1567.
Grab the next digit (7) from the dividend, add it to 235, then carry on: 2357 / 666

On to step 5:
2357 divided by 666 is 3 with a remainder of 359.
The next digit of our result is 3. 
Result so far: 123.0
The remainder is 359 after subtracting 1998 from 2357.
Fetch the next digit (6) from the dividend, attach it to 359 and continue: 3596 / 666

Going ahead to step 6:
3596 divided by 666 is 5 with a remainder of 266.
The number 5 becomes the next digit in our result. 
Result so far: 1235.0
Subtracting 3330 from 3596 leaves us with 266.
Fetch the next digit (8) from the dividend, attach it to 266 and continue: 2668 / 666

Moving on to step 7:
When dividing 2668 by 666, we get 4 with a remainder of 4.
Use 4 as the next digit of our solution. 
Result so far: 12354.0
If we subtract 2664 from 2668, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
666 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 12354.0
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 9:
The number 666 fits into 400 0 times, leaving a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 12354.0
The remainder is 400 after subtracting 0 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

After the division, we end up with 12354.0 and a remainder of 0.4.