We divide 40012579 by 590
We're looking to find how many times 590 goes into 40012579.

Moving on to step 1:
When dividing 4 by 590, we get 0 with 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.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 590

Going ahead to step 2:
If we divide 40 by 590, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Grab the next digit (0) from the dividend, add it to 40, then carry on: 400 / 590

On to step 3:
When dividing 400 by 590, we get 0 with a remainder of 400.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 400, we get 400.
Fetch the next digit (1) from the dividend, attach it to 400 and continue: 4001 / 590

Step 4:
4001 divided by 590 is 6 with a remainder of 461.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 3540 from 4001, we get 461.
Fetch the next digit (2) from the dividend, attach it to 461 and continue: 4612 / 590

On to step 5:
590 goes into 4612 7 times with a remainder of 482.
The number 7 becomes the next digit in our result. 
Result so far: 67.0
Subtracting 4130 from 4612 leaves us with 482.
Grab the next digit (5) from the dividend, add it to 482, then carry on: 4825 / 590

Going ahead to step 6:
The number 590 fits into 4825 8 times, leaving a remainder of 105.
The next digit of our result is 8. 
Result so far: 678.0
If we subtract 4720 from 4825, we get 105.
Grab the next digit (7) from the dividend, add it to 105, then carry on: 1057 / 590

Step 7:
590 can be fit into 1057 1 times, resulting in a remainder of 467.
Put 1 as the next digit of the answer. 
Result so far: 6781.0
If we subtract 590 from 1057, we get 467.
Take the next digit (9) from the dividend and append it to 467, then repeat: 4679 / 590

Advancing to step 8:
The number 590 fits into 4679 7 times, leaving a remainder of 549.
Put 7 as the next digit of the answer. 
Result so far: 67817.0
The remainder is 549 after subtracting 4130 from 4679.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5490, and continue the process.

Step 9:
If we divide 5490 by 590, we get 9 and a remainder of 180.
Record the quotient 9 as the next digit in the result. 
Result so far: 67817.9
If we take 5310 away from 5490, we end up with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Moving on to step 10:
When dividing 1800 by 590, we get 3 with a remainder of 30.
Record the quotient 3 as the next digit in the result. 
Result so far: 67817.93
If we subtract 1770 from 1800, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 11:
When dividing 300 by 590, we get 0 with a remainder of 300.
Use 0 as the next digit of our solution. 
Result so far: 67817.93
Subtracting 0 from 300 leaves us with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Step 12:
When dividing 3000 by 590, we get 5 with a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 67817.9305
Subtract 2950 from 3000 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 13:
590 goes into 500 0 times with a remainder of 500.
Record the quotient 0 as the next digit in the result. 
Result so far: 67817.9305
Subtract 0 from 500 to get 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5000, and continue the process.

Moving on to step 14:
590 goes into 5000 8 times with a remainder of 280.
Put 8 as the next digit of the answer. 
Result so far: 67817.930508
If we subtract 4720 from 5000, we get 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Going ahead to step 15:
When dividing 2800 by 590, we get 4 with a remainder of 440.
Write down 4 as next digit of the result. 
Result so far: 67817.9305084
Subtracting 2360 from 2800 leaves us with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Going ahead to step 16:
4400 divided by 590 is 7 with a remainder of 270.
Use 7 as the next digit of our solution. 
Result so far: 67817.93050847
Subtracting 4130 from 4400 leaves us with 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

The quotient of the division is 67817.93050847, and the remainder is 2.7e-07.