We're dividing 40256582 by 251 
Let's see how many times 251 fits into 40256582.

Advancing to step 1:
The number 251 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 251

Let's proceed to step 2:
251 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 take 0 away from 40, we end up with 40.
Fetch the next digit (2) from the dividend, attach it to 40 and continue: 402 / 251

On to step 3:
402 divided by 251 is 1 with a remainder of 151.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 251 from 402 and we're left with 151.
Grab the next digit (5) from the dividend, add it to 151, then carry on: 1515 / 251

On to step 4:
1515 divided by 251 is 6 with a remainder of 9.
The next digit of our result is 6. 
Result so far: 16.0
Subtract 1506 from 1515 to get 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 251

Step 5:
251 can be fit into 96 0 times, resulting in a remainder of 96.
The number 0 becomes the next digit in our result. 
Result so far: 160.0
Subtracting 0 from 96 leaves us with 96.
Fetch the next digit (5) from the dividend, attach it to 96 and continue: 965 / 251

Step 6:
The number 251 fits into 965 3 times, leaving a remainder of 212.
Use 3 as the next digit of our solution. 
Result so far: 1603.0
Subtracting 753 from 965 leaves us with 212.
Take the next digit (8) from the dividend and append it to 212, then repeat: 2128 / 251

Moving on to step 7:
251 can be fit into 2128 8 times, resulting in a remainder of 120.
Record the quotient 8 as the next digit in the result. 
Result so far: 16038.0
If we subtract 2008 from 2128, we get 120.
Append the next digit (2) from the dividend to 120 and continue with: 1202 / 251

Step 8:
251 can be fit into 1202 4 times, resulting in a remainder of 198.
Put 4 as the next digit of the answer. 
Result so far: 160384.0
The remainder is 198 after subtracting 1004 from 1202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Step 9:
If we divide 1980 by 251, we get 7 and a remainder of 223.
Write down 7 as next digit of the result. 
Result so far: 160384.7
Subtracting 1757 from 1980 leaves us with 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2230, and continue the process.

Advancing to step 10:
The number 251 fits into 2230 8 times, leaving a remainder of 222.
Record the quotient 8 as the next digit in the result. 
Result so far: 160384.78
Subtract 2008 from 2230 to get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

On to step 11:
251 goes into 2220 8 times with a remainder of 212.
Record the quotient 8 as the next digit in the result. 
Result so far: 160384.788
Deduct 2008 from 2220 and we're left with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

After the division, we end up with 160384.788 and a remainder of 0.0212.