We're dividing 51213707 by 586 
We want to divide 51213707 by 586.

On to step 1:
586 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 586

On to step 2:
586 can be fit into 51 0 times, resulting in a remainder of 51.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Take the next digit (2) from the dividend and append it to 51, then repeat: 512 / 586

On to step 3:
586 can be fit into 512 0 times, resulting in a remainder of 512.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 512, we get 512.
Grab the next digit (1) from the dividend, add it to 512, then carry on: 5121 / 586

Going ahead to step 4:
5121 divided by 586 is 8 with a remainder of 433.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtracting 4688 from 5121 leaves us with 433.
Fetch the next digit (3) from the dividend, attach it to 433 and continue: 4333 / 586

Let's proceed to step 5:
4333 divided by 586 is 7 with a remainder of 231.
The next digit of our result is 7. 
Result so far: 87.0
Subtracting 4102 from 4333 leaves us with 231.
Include the next digit (7) from the dividend after 231, then repeat: 2317 / 586

Let's proceed to step 6:
If we divide 2317 by 586, we get 3 and a remainder of 559.
Put 3 as the next digit of the answer. 
Result so far: 873.0
If we subtract 1758 from 2317, we get 559.
Bring next digit (0) of the dividend behind the 559 and repeat the process: 5590 / 586

On to step 7:
586 can be fit into 5590 9 times, resulting in a remainder of 316.
Record the quotient 9 as the next digit in the result. 
Result so far: 8739.0
Subtracting 5274 from 5590 leaves us with 316.
Append the next digit (7) from the dividend to 316 and continue with: 3167 / 586

On to step 8:
586 can be fit into 3167 5 times, resulting in a remainder of 237.
Write down 5 as next digit of the result. 
Result so far: 87395.0
If we take 2930 away from 3167, we end up with 237.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2370, and continue the process.

Advancing to step 9:
586 goes into 2370 4 times with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 87395.4
Subtract 2344 from 2370 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 10:
If we divide 260 by 586, we get 0 and a remainder of 260.
The next digit of our result is 0. 
Result so far: 87395.4
Subtracting 0 from 260 leaves us with 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2600, and continue the process.

Let's proceed to step 11:
586 can be fit into 2600 4 times, resulting in a remainder of 256.
Write down 4 as next digit of the result. 
Result so far: 87395.404
Deduct 2344 from 2600 and we're left with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

On to step 12:
586 goes into 2560 4 times with a remainder of 216.
The next digit of our result is 4. 
Result so far: 87395.4044
If we take 2344 away from 2560, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

In conclusion, the division gives 87395.4044 with a balance of 0.00216.