We're dividing 31601172 by 666 
Let's see how many times 666 fits into 31601172.

Let's proceed to step 1:
When dividing 3 by 666, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 666

Step 2:
If we divide 31 by 666, we get 0 and a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Take the next digit (6) from the dividend and append it to 31, then repeat: 316 / 666

Let's proceed to step 3:
If we divide 316 by 666, we get 0 and a remainder of 316.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 316 and we're left with 316.
Bring next digit (0) of the dividend behind the 316 and repeat the process: 3160 / 666

Advancing to step 4:
666 goes into 3160 4 times with a remainder of 496.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 2664 from 3160 and we're left with 496.
Include the next digit (1) from the dividend after 496, then repeat: 4961 / 666

On to step 5:
666 can be fit into 4961 7 times, resulting in a remainder of 299.
Put 7 as the next digit of the answer. 
Result so far: 47.0
If we subtract 4662 from 4961, we get 299.
Append the next digit (1) from the dividend to 299 and continue with: 2991 / 666

Moving on to step 6:
666 goes into 2991 4 times with a remainder of 327.
Write down 4 as next digit of the result. 
Result so far: 474.0
Subtracting 2664 from 2991 leaves us with 327.
Append the next digit (7) from the dividend to 327 and continue with: 3277 / 666

Moving on to step 7:
666 goes into 3277 4 times with a remainder of 613.
Put 4 as the next digit of the answer. 
Result so far: 4744.0
Subtracting 2664 from 3277 leaves us with 613.
Take the next digit (2) from the dividend and append it to 613, then repeat: 6132 / 666

Going ahead to step 8:
6132 divided by 666 is 9 with a remainder of 138.
Put 9 as the next digit of the answer. 
Result so far: 47449.0
If we subtract 5994 from 6132, we get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

On to step 9:
666 can be fit into 1380 2 times, resulting in a remainder of 48.
Record the quotient 2 as the next digit in the result. 
Result so far: 47449.2
If we take 1332 away from 1380, we end up with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 10:
When dividing 480 by 666, we get 0 with a remainder of 480.
Write down 0 as next digit of the result. 
Result so far: 47449.2
Subtracting 0 from 480 leaves us with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Advancing to step 11:
The number 666 fits into 4800 7 times, leaving a remainder of 138.
The number 7 becomes the next digit in our result. 
Result so far: 47449.207
Subtracting 4662 from 4800 leaves us with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 12:
If we divide 1380 by 666, we get 2 and a remainder of 48.
The number 2 becomes the next digit in our result. 
Result so far: 47449.2072
Deduct 1332 from 1380 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 13:
If we divide 480 by 666, we get 0 and a remainder of 480.
Record the quotient 0 as the next digit in the result. 
Result so far: 47449.2072
Deduct 0 from 480 and we're left with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Going ahead to step 14:
The number 666 fits into 4800 7 times, leaving a remainder of 138.
The number 7 becomes the next digit in our result. 
Result so far: 47449.207207
Subtract 4662 from 4800 to get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Let's proceed to step 15:
If we divide 1380 by 666, we get 2 and a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 47449.2072072
Subtracting 1332 from 1380 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Let's proceed to step 16:
When dividing 480 by 666, we get 0 with a remainder of 480.
Write down 0 as next digit of the result. 
Result so far: 47449.2072072
Subtracting 0 from 480 leaves us with 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

The final outcome is 47449.2072072, with a leftover of 4.8e-07.