We're dividing 31042841 by 665 
Let's see how many times 665 fits into 31042841.

On to step 1:
When dividing 3 by 665, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
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

Step 2:
When dividing 31 by 665, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Bring next digit (0) of the dividend behind the 31 and repeat the process: 310 / 665

Going ahead to step 3:
The number 665 fits into 310 0 times, leaving a remainder of 310.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 310 to get 310.
Grab the next digit (4) from the dividend, add it to 310, then carry on: 3104 / 665

Advancing to step 4:
3104 divided by 665 is 4 with a remainder of 444.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 2660 from 3104 leaves us with 444.
Take the next digit (2) from the dividend and append it to 444, then repeat: 4442 / 665

Moving on to step 5:
The number 665 fits into 4442 6 times, leaving a remainder of 452.
Put 6 as the next digit of the answer. 
Result so far: 46.0
Subtract 3990 from 4442 to get 452.
Grab the next digit (8) from the dividend, add it to 452, then carry on: 4528 / 665

Step 6:
When dividing 4528 by 665, we get 6 with a remainder of 538.
Put 6 as the next digit of the answer. 
Result so far: 466.0
If we subtract 3990 from 4528, we get 538.
Fetch the next digit (4) from the dividend, attach it to 538 and continue: 5384 / 665

Advancing to step 7:
5384 divided by 665 is 8 with a remainder of 64.
Write down 8 as next digit of the result. 
Result so far: 4668.0
The remainder is 64 after subtracting 5320 from 5384.
Fetch the next digit (1) from the dividend, attach it to 64 and continue: 641 / 665

Step 8:
665 goes into 641 0 times with a remainder of 641.
Record the quotient 0 as the next digit in the result. 
Result so far: 46680.0
Subtract 0 from 641 to get 641.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6410, and continue the process.

Let's proceed to step 9:
When dividing 6410 by 665, we get 9 with a remainder of 425.
Put 9 as the next digit of the answer. 
Result so far: 46680.9
Deduct 5985 from 6410 and we're left with 425.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4250, and continue the process.

Advancing to step 10:
If we divide 4250 by 665, we get 6 and a remainder of 260.
The next digit of our result is 6. 
Result so far: 46680.96
If we take 3990 away from 4250, we end up with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

On to step 11:
2600 divided by 665 is 3 with a remainder of 605.
Record the quotient 3 as the next digit in the result. 
Result so far: 46680.963
If we take 1995 away from 2600, we end up with 605.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6050, and continue the process.

Let's proceed to step 12:
When dividing 6050 by 665, we get 9 with a remainder of 65.
The number 9 becomes the next digit in our result. 
Result so far: 46680.9639
If we subtract 5985 from 6050, we get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Let's proceed to step 13:
665 goes into 650 0 times with a remainder of 650.
Write down 0 as next digit of the result. 
Result so far: 46680.9639
If we take 0 away from 650, we end up with 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6500, and continue the process.

Moving on to step 14:
When dividing 6500 by 665, we get 9 with a remainder of 515.
The next digit of our result is 9. 
Result so far: 46680.963909
Deduct 5985 from 6500 and we're left with 515.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

Going ahead to step 15:
665 can be fit into 5150 7 times, resulting in a remainder of 495.
The next digit of our result is 7. 
Result so far: 46680.9639097
Subtract 4655 from 5150 to get 495.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4950, and continue the process.

Step 16:
4950 divided by 665 is 7 with a remainder of 295.
The next digit of our result is 7. 
Result so far: 46680.96390977
Subtract 4655 from 4950 to get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

After the division, we end up with 46680.96390977 and a remainder of 2.95e-07.