We're dividing 97866504 by 665 
Our goal is to divide 97866504 by 665.

Advancing to step 1:
The number 665 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 665

Advancing to step 2:
665 can be fit into 97 0 times, resulting in a remainder of 97.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 97, we get 97.
Fetch the next digit (8) from the dividend, attach it to 97 and continue: 978 / 665

Going ahead to step 3:
The number 665 fits into 978 1 times, leaving a remainder of 313.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 665 from 978, we get 313.
Grab the next digit (6) from the dividend, add it to 313, then carry on: 3136 / 665

Step 4:
3136 divided by 665 is 4 with a remainder of 476.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtract 2660 from 3136 to get 476.
Grab the next digit (6) from the dividend, add it to 476, then carry on: 4766 / 665

Going ahead to step 5:
4766 divided by 665 is 7 with a remainder of 111.
The next digit of our result is 7. 
Result so far: 147.0
Subtracting 4655 from 4766 leaves us with 111.
Fetch the next digit (5) from the dividend, attach it to 111 and continue: 1115 / 665

Step 6:
The number 665 fits into 1115 1 times, leaving a remainder of 450.
The number 1 becomes the next digit in our result. 
Result so far: 1471.0
If we take 665 away from 1115, we end up with 450.
Include the next digit (0) from the dividend after 450, then repeat: 4500 / 665

Step 7:
665 can be fit into 4500 6 times, resulting in a remainder of 510.
The next digit of our result is 6. 
Result so far: 14716.0
Subtracting 3990 from 4500 leaves us with 510.
Append the next digit (4) from the dividend to 510 and continue with: 5104 / 665

Advancing to step 8:
If we divide 5104 by 665, we get 7 and a remainder of 449.
The next digit of our result is 7. 
Result so far: 147167.0
If we take 4655 away from 5104, we end up with 449.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4490, and continue the process.

Going ahead to step 9:
When dividing 4490 by 665, we get 6 with a remainder of 500.
Record the quotient 6 as the next digit in the result. 
Result so far: 147167.6
If we take 3990 away from 4490, we end up with 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Advancing to step 10:
5000 divided by 665 is 7 with a remainder of 345.
Record the quotient 7 as the next digit in the result. 
Result so far: 147167.67
If we subtract 4655 from 5000, we get 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

Let's proceed to step 11:
665 goes into 3450 5 times with a remainder of 125.
The number 5 becomes the next digit in our result. 
Result so far: 147167.675
The remainder is 125 after subtracting 3325 from 3450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Let's proceed to step 12:
665 can be fit into 1250 1 times, resulting in a remainder of 585.
The next digit of our result is 1. 
Result so far: 147167.6751
The remainder is 585 after subtracting 665 from 1250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5850, and continue the process.

Advancing to step 13:
When dividing 5850 by 665, we get 8 with a remainder of 530.
The next digit of our result is 8. 
Result so far: 147167.67518
Deduct 5320 from 5850 and we're left with 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Moving on to step 14:
If we divide 5300 by 665, we get 7 and a remainder of 645.
Use 7 as the next digit of our solution. 
Result so far: 147167.675187
If we subtract 4655 from 5300, we get 645.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6450, and continue the process.

Advancing to step 15:
665 goes into 6450 9 times with a remainder of 465.
Write down 9 as next digit of the result. 
Result so far: 147167.6751879
If we take 5985 away from 6450, we end up with 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4650, and continue the process.

Step 16:
When dividing 4650 by 665, we get 6 with a remainder of 660.
Use 6 as the next digit of our solution. 
Result so far: 147167.67518796
The remainder is 660 after subtracting 3990 from 4650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

In conclusion, the division gives 147167.67518796 with a balance of 6.6e-07.