We look at the division of 585165 by 66 
Let's see how many times 66 fits into 585165.

Advancing to step 1:
5 divided by 66 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 66

Let's proceed to step 2:
When dividing 58 by 66, we get 0 with a remainder of 58.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 58, we get 58.
Include the next digit (5) from the dividend after 58, then repeat: 585 / 66

Advancing to step 3:
When dividing 585 by 66, we get 8 with a remainder of 57.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 528 from 585, we get 57.
Include the next digit (1) from the dividend after 57, then repeat: 571 / 66

Let's proceed to step 4:
When dividing 571 by 66, we get 8 with a remainder of 43.
Record the quotient 8 as the next digit in the result. 
Result so far: 88.0
Subtracting 528 from 571 leaves us with 43.
Grab the next digit (6) from the dividend, add it to 43, then carry on: 436 / 66

Moving on to step 5:
The number 66 fits into 436 6 times, leaving a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 886.0
The remainder is 40 after subtracting 396 from 436.
Grab the next digit (5) from the dividend, add it to 40, then carry on: 405 / 66

Moving on to step 6:
The number 66 fits into 405 6 times, leaving a remainder of 9.
The next digit of our result is 6. 
Result so far: 8866.0
If we subtract 396 from 405, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
66 goes into 90 1 times with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 8866.1
If we subtract 66 from 90, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 8:
240 divided by 66 is 3 with a remainder of 42.
Use 3 as the next digit of our solution. 
Result so far: 8866.13
Subtract 198 from 240 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 9:
If we divide 420 by 66, we get 6 and a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 8866.136
Subtract 396 from 420 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
If we divide 240 by 66, we get 3 and a remainder of 42.
The next digit of our result is 3. 
Result so far: 8866.1363
Subtract 198 from 240 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 11:
When dividing 420 by 66, we get 6 with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 8866.13636
The remainder is 24 after subtracting 396 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 12:
If we divide 240 by 66, we get 3 and a remainder of 42.
Use 3 as the next digit of our solution. 
Result so far: 8866.136363
If we subtract 198 from 240, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 13:
If we divide 420 by 66, we get 6 and a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 8866.1363636
Deduct 396 from 420 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 14:
When dividing 240 by 66, we get 3 with a remainder of 42.
Put 3 as the next digit of the answer. 
Result so far: 8866.13636363
Deduct 198 from 240 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The quotient of the division is 8866.13636363, and the remainder is 4.2e-08.