3177147 ÷ 665 
Let's see how many times 665 fits into 3177147.

Moving on to step 1:
3 divided by 665 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 665

Going ahead to step 2:
665 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 665

On to step 3:
665 goes into 317 0 times with a remainder of 317.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 317, we get 317.
Append the next digit (7) from the dividend to 317 and continue with: 3177 / 665

Advancing to step 4:
665 can be fit into 3177 4 times, resulting in a remainder of 517.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 2660 from 3177 leaves us with 517.
Take the next digit (1) from the dividend and append it to 517, then repeat: 5171 / 665

Step 5:
5171 divided by 665 is 7 with a remainder of 516.
Put 7 as the next digit of the answer. 
Result so far: 47.0
If we take 4655 away from 5171, we end up with 516.
Bring next digit (4) of the dividend behind the 516 and repeat the process: 5164 / 665

Step 6:
665 goes into 5164 7 times with a remainder of 509.
Use 7 as the next digit of our solution. 
Result so far: 477.0
Deduct 4655 from 5164 and we're left with 509.
Fetch the next digit (7) from the dividend, attach it to 509 and continue: 5097 / 665

Going ahead to step 7:
If we divide 5097 by 665, we get 7 and a remainder of 442.
Use 7 as the next digit of our solution. 
Result so far: 4777.0
If we subtract 4655 from 5097, we get 442.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Advancing to step 8:
If we divide 4420 by 665, we get 6 and a remainder of 430.
Record the quotient 6 as the next digit in the result. 
Result so far: 4777.6
Subtract 3990 from 4420 to get 430.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4300, and continue the process.

On to step 9:
665 goes into 4300 6 times with a remainder of 310.
Record the quotient 6 as the next digit in the result. 
Result so far: 4777.66
If we take 3990 away from 4300, we end up with 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

The quotient of the division is 4777.66, and the remainder is 0.31.