We divide 585123 by 51
We're looking to find how many times 51 goes into 585123.

On to step 1:
The number 51 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 51

Moving on to step 2:
The number 51 fits into 58 1 times, leaving a remainder of 7.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 51 from 58 to get 7.
Fetch the next digit (5) from the dividend, attach it to 7 and continue: 75 / 51

Step 3:
75 divided by 51 is 1 with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 51 from 75 and we're left with 24.
Bring next digit (1) of the dividend behind the 24 and repeat the process: 241 / 51

Moving on to step 4:
When dividing 241 by 51, we get 4 with a remainder of 37.
The number 4 becomes the next digit in our result. 
Result so far: 114.0
Subtract 204 from 241 to get 37.
Fetch the next digit (2) from the dividend, attach it to 37 and continue: 372 / 51

Going ahead to step 5:
The number 51 fits into 372 7 times, leaving a remainder of 15.
The next digit of our result is 7. 
Result so far: 1147.0
If we subtract 357 from 372, we get 15.
Include the next digit (3) from the dividend after 15, then repeat: 153 / 51

On to step 6:
51 can be fit into 153 3 times, resulting in a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 11473.0
Subtract 153 from 153 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.

Going ahead to step 7:
51 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 11473.0
Subtract 0 from 0 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 8:
The number 51 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 11473.0
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.

The final outcome is 11473.0, with a leftover of 0.0.