We look at the division of 40958214 by 258 
Let's see how many times 258 fits into 40958214.

Going ahead to step 1:
4 divided by 258 is 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 258

Let's proceed to step 2:
258 can be fit into 40 0 times, resulting in a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (9) from the dividend and append it to 40, then repeat: 409 / 258

On to step 3:
When dividing 409 by 258, we get 1 with a remainder of 151.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 258 from 409, we get 151.
Grab the next digit (5) from the dividend, add it to 151, then carry on: 1515 / 258

On to step 4:
1515 divided by 258 is 5 with a remainder of 225.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Deduct 1290 from 1515 and we're left with 225.
Grab the next digit (8) from the dividend, add it to 225, then carry on: 2258 / 258

Moving on to step 5:
The number 258 fits into 2258 8 times, leaving a remainder of 194.
The number 8 becomes the next digit in our result. 
Result so far: 158.0
If we subtract 2064 from 2258, we get 194.
Bring next digit (2) of the dividend behind the 194 and repeat the process: 1942 / 258

On to step 6:
The number 258 fits into 1942 7 times, leaving a remainder of 136.
Put 7 as the next digit of the answer. 
Result so far: 1587.0
If we subtract 1806 from 1942, we get 136.
Fetch the next digit (1) from the dividend, attach it to 136 and continue: 1361 / 258

Advancing to step 7:
If we divide 1361 by 258, we get 5 and a remainder of 71.
Put 5 as the next digit of the answer. 
Result so far: 15875.0
If we take 1290 away from 1361, we end up with 71.
Take the next digit (4) from the dividend and append it to 71, then repeat: 714 / 258

Let's proceed to step 8:
258 can be fit into 714 2 times, resulting in a remainder of 198.
Write down 2 as next digit of the result. 
Result so far: 158752.0
Subtracting 516 from 714 leaves us with 198.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Going ahead to step 9:
The number 258 fits into 1980 7 times, leaving a remainder of 174.
Use 7 as the next digit of our solution. 
Result so far: 158752.7
The remainder is 174 after subtracting 1806 from 1980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1740, and continue the process.

Step 10:
The number 258 fits into 1740 6 times, leaving a remainder of 192.
The next digit of our result is 6. 
Result so far: 158752.76
Subtracting 1548 from 1740 leaves us with 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Let's proceed to step 11:
If we divide 1920 by 258, we get 7 and a remainder of 114.
Use 7 as the next digit of our solution. 
Result so far: 158752.767
If we take 1806 away from 1920, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 12:
258 goes into 1140 4 times with a remainder of 108.
Record the quotient 4 as the next digit in the result. 
Result so far: 158752.7674
Deduct 1032 from 1140 and we're left with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

On to step 13:
258 goes into 1080 4 times with a remainder of 48.
Use 4 as the next digit of our solution. 
Result so far: 158752.76744
Subtract 1032 from 1080 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The quotient of the division is 158752.76744, and the remainder is 4.8e-05.