Let's divide 406987 by 51
We want to divide 406987 by 51.

Let's proceed to step 1:
51 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 51

Moving on to step 2:
51 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (6) from the dividend, attach it to 40 and continue: 406 / 51

Going ahead to step 3:
51 goes into 406 7 times with a remainder of 49.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
The remainder is 49 after subtracting 357 from 406.
Grab the next digit (9) from the dividend, add it to 49, then carry on: 499 / 51

Moving on to step 4:
51 can be fit into 499 9 times, resulting in a remainder of 40.
The number 9 becomes the next digit in our result. 
Result so far: 79.0
Deduct 459 from 499 and we're left with 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 51

Moving on to step 5:
The number 51 fits into 408 8 times, leaving a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 798.0
Subtracting 408 from 408 leaves us with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 51

Step 6:
7 divided by 51 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 7980.0
If we take 0 away from 7, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
The number 51 fits into 70 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 7980.1
If we subtract 51 from 70, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 8:
51 can be fit into 190 3 times, resulting in a remainder of 37.
The next digit of our result is 3. 
Result so far: 7980.13
Subtracting 153 from 190 leaves us 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.

On to step 9:
51 can be fit into 370 7 times, resulting in a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 7980.137
Subtract 357 from 370 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 10:
The number 51 fits into 130 2 times, leaving a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 7980.1372
Deduct 102 from 130 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 11:
If we divide 280 by 51, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 7980.13725
Deduct 255 from 280 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 12:
51 goes into 250 4 times with a remainder of 46.
Record the quotient 4 as the next digit in the result. 
Result so far: 7980.137254
Deduct 204 from 250 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 13:
The number 51 fits into 460 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 7980.1372549
Subtract 459 from 460 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 14:
If we divide 10 by 51, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 7980.1372549
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 7980.1372549 with a balance of 1e-08.