Let's divide 40643164 by 310
Let's see how many times 310 fits into 40643164.

Let's proceed to step 1:
If we divide 4 by 310, we get 0 and a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 310

Step 2:
310 goes into 40 0 times with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (6) from the dividend to 40 and continue with: 406 / 310

Step 3:
When dividing 406 by 310, we get 1 with a remainder of 96.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 310 from 406 to get 96.
Take the next digit (4) from the dividend and append it to 96, then repeat: 964 / 310

Step 4:
If we divide 964 by 310, we get 3 and a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 13.0
Subtracting 930 from 964 leaves us with 34.
Bring next digit (3) of the dividend behind the 34 and repeat the process: 343 / 310

Moving on to step 5:
310 goes into 343 1 times with a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 131.0
If we subtract 310 from 343, we get 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 310

Moving on to step 6:
331 divided by 310 is 1 with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1311.0
If we subtract 310 from 331, we get 21.
Bring next digit (6) of the dividend behind the 21 and repeat the process: 216 / 310

Advancing to step 7:
The number 310 fits into 216 0 times, leaving a remainder of 216.
Write down 0 as next digit of the result. 
Result so far: 13110.0
Subtracting 0 from 216 leaves us with 216.
Fetch the next digit (4) from the dividend, attach it to 216 and continue: 2164 / 310

Going ahead to step 8:
When dividing 2164 by 310, we get 6 with a remainder of 304.
Use 6 as the next digit of our solution. 
Result so far: 131106.0
The remainder is 304 after subtracting 1860 from 2164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 9:
310 can be fit into 3040 9 times, resulting in a remainder of 250.
The number 9 becomes the next digit in our result. 
Result so far: 131106.9
If we take 2790 away from 3040, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Step 10:
310 can be fit into 2500 8 times, resulting in a remainder of 20.
Record the quotient 8 as the next digit in the result. 
Result so far: 131106.98
The remainder is 20 after subtracting 2480 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
200 divided by 310 is 0 with a remainder of 200.
Use 0 as the next digit of our solution. 
Result so far: 131106.98
Subtracting 0 from 200 leaves us with 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Moving on to step 12:
The number 310 fits into 2000 6 times, leaving a remainder of 140.
Use 6 as the next digit of our solution. 
Result so far: 131106.9806
Deduct 1860 from 2000 and we're left with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Moving on to step 13:
When dividing 1400 by 310, we get 4 with a remainder of 160.
Record the quotient 4 as the next digit in the result. 
Result so far: 131106.98064
If we take 1240 away from 1400, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Step 14:
310 goes into 1600 5 times with a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 131106.980645
If we take 1550 away from 1600, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 15:
310 goes into 500 1 times with a remainder of 190.
The number 1 becomes the next digit in our result. 
Result so far: 131106.9806451
If we take 310 away from 500, we end up with 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1900, and continue the process.

Let's proceed to step 16:
If we divide 1900 by 310, we get 6 and a remainder of 40.
Put 6 as the next digit of the answer. 
Result so far: 131106.98064516
Subtract 1860 from 1900 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

After the division, we end up with 131106.98064516 and a remainder of 4e-08.