40307035 divided by 59 
We want to divide 40307035 by 59.

Going ahead to step 1:
4 divided by 59 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 59

Going ahead to step 2:
40 divided by 59 is 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 59

Step 3:
59 goes into 403 6 times with a remainder of 49.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we take 354 away from 403, we end up with 49.
Include the next digit (0) from the dividend after 49, then repeat: 490 / 59

Moving on to step 4:
The number 59 fits into 490 8 times, leaving a remainder of 18.
Put 8 as the next digit of the answer. 
Result so far: 68.0
Subtracting 472 from 490 leaves us with 18.
Include the next digit (7) from the dividend after 18, then repeat: 187 / 59

Going ahead to step 5:
59 goes into 187 3 times with a remainder of 10.
The next digit of our result is 3. 
Result so far: 683.0
If we subtract 177 from 187, we get 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 59

Advancing to step 6:
59 goes into 100 1 times with a remainder of 41.
Put 1 as the next digit of the answer. 
Result so far: 6831.0
If we subtract 59 from 100, we get 41.
Grab the next digit (3) from the dividend, add it to 41, then carry on: 413 / 59

Let's proceed to step 7:
59 can be fit into 413 7 times, resulting in a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 68317.0
If we take 413 away from 413, we end up with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 59

Going ahead to step 8:
59 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 683170.0
Deduct 0 from 5 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 9:
59 can be fit into 50 0 times, resulting in a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 683170.0
Subtracting 0 from 50 leaves us 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.

On to step 10:
59 goes into 500 8 times with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 683170.08
Subtract 472 from 500 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 11:
59 can be fit into 280 4 times, resulting in a remainder of 44.
The next digit of our result is 4. 
Result so far: 683170.084
The remainder is 44 after subtracting 236 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 12:
440 divided by 59 is 7 with a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 683170.0847
If we take 413 away from 440, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 13:
59 can be fit into 270 4 times, resulting in a remainder of 34.
Put 4 as the next digit of the answer. 
Result so far: 683170.08474
Subtracting 236 from 270 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 14:
59 goes into 340 5 times with a remainder of 45.
Record the quotient 5 as the next digit in the result. 
Result so far: 683170.084745
If we subtract 295 from 340, we get 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 15:
When dividing 450 by 59, we get 7 with a remainder of 37.
The next digit of our result is 7. 
Result so far: 683170.0847457
Deduct 413 from 450 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 16:
59 can be fit into 370 6 times, resulting in a remainder of 16.
The next digit of our result is 6. 
Result so far: 683170.08474576
If we take 354 away from 370, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 683170.08474576 with a remainder of 1.6e-08.