31579165 divided by 661 
We want to figure out the number of times 31579165 can be divided by 661.

Step 1:
If we divide 3 by 661, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 661

Let's proceed to step 2:
661 goes into 31 0 times with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Include the next digit (5) from the dividend after 31, then repeat: 315 / 661

Moving on to step 3:
315 divided by 661 is 0 with a remainder of 315.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 315 to get 315.
Append the next digit (7) from the dividend to 315 and continue with: 3157 / 661

Let's proceed to step 4:
The number 661 fits into 3157 4 times, leaving a remainder of 513.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 513 after subtracting 2644 from 3157.
Fetch the next digit (9) from the dividend, attach it to 513 and continue: 5139 / 661

On to step 5:
661 goes into 5139 7 times with a remainder of 512.
Put 7 as the next digit of the answer. 
Result so far: 47.0
If we subtract 4627 from 5139, we get 512.
Grab the next digit (1) from the dividend, add it to 512, then carry on: 5121 / 661

Moving on to step 6:
661 goes into 5121 7 times with a remainder of 494.
The number 7 becomes the next digit in our result. 
Result so far: 477.0
Deduct 4627 from 5121 and we're left with 494.
Append the next digit (6) from the dividend to 494 and continue with: 4946 / 661

Let's proceed to step 7:
4946 divided by 661 is 7 with a remainder of 319.
Put 7 as the next digit of the answer. 
Result so far: 4777.0
Subtract 4627 from 4946 to get 319.
Include the next digit (5) from the dividend after 319, then repeat: 3195 / 661

Let's proceed to step 8:
3195 divided by 661 is 4 with a remainder of 551.
The number 4 becomes the next digit in our result. 
Result so far: 47774.0
If we take 2644 away from 3195, we end up with 551.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5510, and continue the process.

Going ahead to step 9:
661 goes into 5510 8 times with a remainder of 222.
The number 8 becomes the next digit in our result. 
Result so far: 47774.8
Subtracting 5288 from 5510 leaves us with 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Moving on to step 10:
661 goes into 2220 3 times with a remainder of 237.
Write down 3 as next digit of the result. 
Result so far: 47774.83
If we take 1983 away from 2220, we end up with 237.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2370, and continue the process.

Moving on to step 11:
The number 661 fits into 2370 3 times, leaving a remainder of 387.
Write down 3 as next digit of the result. 
Result so far: 47774.833
Subtracting 1983 from 2370 leaves us with 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

The quotient of the division is 47774.833, and the remainder is 0.0387.