We divide 58012140 by 40
We want to figure out the number of times 58012140 can be divided by 40.

Going ahead to step 1:
40 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 40

Let's proceed to step 2:
If we divide 58 by 40, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 40 from 58 leaves us with 18.
Bring next digit (0) of the dividend behind the 18 and repeat the process: 180 / 40

Let's proceed to step 3:
When dividing 180 by 40, we get 4 with a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
If we take 160 away from 180, we end up with 20.
Append the next digit (1) from the dividend to 20 and continue with: 201 / 40

Advancing to step 4:
The number 40 fits into 201 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 145.0
Subtracting 200 from 201 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 40

Advancing to step 5:
40 can be fit into 12 0 times, resulting in a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 1450.0
If we take 0 away from 12, we end up with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 40

Let's proceed to step 6:
40 can be fit into 121 3 times, resulting in a remainder of 1.
The next digit of our result is 3. 
Result so far: 14503.0
The remainder is 1 after subtracting 120 from 121.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 40

Step 7:
40 goes into 14 0 times with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 145030.0
If we subtract 0 from 14, we get 14.
Include the next digit (0) from the dividend after 14, then repeat: 140 / 40

Going ahead to step 8:
If we divide 140 by 40, we get 3 and a remainder of 20.
The next digit of our result is 3. 
Result so far: 1450303.0
Deduct 120 from 140 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1450303.5
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 1450303.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 11:
40 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 1450303.5
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 1450303.5 with a remainder of 0.0.