40591640 ÷ 390 
We want to figure out the number of times 40591640 can be divided by 390.

Advancing to step 1:
390 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 390

Let's proceed to step 2:
390 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (5) from the dividend and append it to 40, then repeat: 405 / 390

On to step 3:
The number 390 fits into 405 1 times, leaving a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 390 from 405 leaves us with 15.
Bring next digit (9) of the dividend behind the 15 and repeat the process: 159 / 390

Moving on to step 4:
159 divided by 390 is 0 with a remainder of 159.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 159 to get 159.
Fetch the next digit (1) from the dividend, attach it to 159 and continue: 1591 / 390

Moving on to step 5:
390 can be fit into 1591 4 times, resulting in a remainder of 31.
The number 4 becomes the next digit in our result. 
Result so far: 104.0
The remainder is 31 after subtracting 1560 from 1591.
Grab the next digit (6) from the dividend, add it to 31, then carry on: 316 / 390

On to step 6:
If we divide 316 by 390, we get 0 and a remainder of 316.
The next digit of our result is 0. 
Result so far: 1040.0
The remainder is 316 after subtracting 0 from 316.
Append the next digit (4) from the dividend to 316 and continue with: 3164 / 390

Advancing to step 7:
390 can be fit into 3164 8 times, resulting in a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 10408.0
If we subtract 3120 from 3164, we get 44.
Take the next digit (0) from the dividend and append it to 44, then repeat: 440 / 390

Advancing to step 8:
440 divided by 390 is 1 with a remainder of 50.
Write down 1 as next digit of the result. 
Result so far: 104081.0
Deduct 390 from 440 and we're left 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 9:
If we divide 500 by 390, we get 1 and a remainder of 110.
Write down 1 as next digit of the result. 
Result so far: 104081.1
Subtract 390 from 500 to get 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 10:
The number 390 fits into 1100 2 times, leaving a remainder of 320.
Record the quotient 2 as the next digit in the result. 
Result so far: 104081.12
Subtracting 780 from 1100 leaves us with 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 11:
If we divide 3200 by 390, we get 8 and a remainder of 80.
Record the quotient 8 as the next digit in the result. 
Result so far: 104081.128
Deduct 3120 from 3200 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Let's proceed to step 12:
800 divided by 390 is 2 with a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 104081.1282
Subtract 780 from 800 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
390 goes into 200 0 times with a remainder of 200.
Put 0 as the next digit of the answer. 
Result so far: 104081.1282
The remainder is 200 after subtracting 0 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2000, and continue the process.

Advancing to step 14:
390 goes into 2000 5 times with a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 104081.128205
Deduct 1950 from 2000 and we're left 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:
500 divided by 390 is 1 with a remainder of 110.
The next digit of our result is 1. 
Result so far: 104081.1282051
Subtracting 390 from 500 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Going ahead to step 16:
390 can be fit into 1100 2 times, resulting in a remainder of 320.
Use 2 as the next digit of our solution. 
Result so far: 104081.12820512
Subtract 780 from 1100 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Our division results in 104081.12820512 with a remaining 3.2e-07.