We're dividing 51405245 by 789 
We want to divide 51405245 by 789.

On to step 1:
If we divide 5 by 789, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (1) from the dividend, add it to 5, then carry on: 51 / 789

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

On to step 3:
The number 789 fits into 514 0 times, leaving a remainder of 514.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 514, we end up with 514.
Fetch the next digit (0) from the dividend, attach it to 514 and continue: 5140 / 789

Advancing to step 4:
789 goes into 5140 6 times with a remainder of 406.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we take 4734 away from 5140, we end up with 406.
Bring next digit (5) of the dividend behind the 406 and repeat the process: 4065 / 789

Advancing to step 5:
If we divide 4065 by 789, we get 5 and a remainder of 120.
Put 5 as the next digit of the answer. 
Result so far: 65.0
The remainder is 120 after subtracting 3945 from 4065.
Append the next digit (2) from the dividend to 120 and continue with: 1202 / 789

Advancing to step 6:
When dividing 1202 by 789, we get 1 with a remainder of 413.
Put 1 as the next digit of the answer. 
Result so far: 651.0
Subtracting 789 from 1202 leaves us with 413.
Grab the next digit (4) from the dividend, add it to 413, then carry on: 4134 / 789

Moving on to step 7:
When dividing 4134 by 789, we get 5 with a remainder of 189.
Write down 5 as next digit of the result. 
Result so far: 6515.0
Subtracting 3945 from 4134 leaves us with 189.
Grab the next digit (5) from the dividend, add it to 189, then carry on: 1895 / 789

On to step 8:
789 goes into 1895 2 times with a remainder of 317.
The next digit of our result is 2. 
Result so far: 65152.0
If we subtract 1578 from 1895, we get 317.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3170, and continue the process.

Advancing to step 9:
789 goes into 3170 4 times with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 65152.4
If we subtract 3156 from 3170, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 10:
If we divide 140 by 789, we get 0 and a remainder of 140.
Record the quotient 0 as the next digit in the result. 
Result so far: 65152.4
Subtracting 0 from 140 leaves us with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Advancing to step 11:
789 goes into 1400 1 times with a remainder of 611.
Put 1 as the next digit of the answer. 
Result so far: 65152.401
Deduct 789 from 1400 and we're left with 611.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6110, and continue the process.

Moving on to step 12:
789 goes into 6110 7 times with a remainder of 587.
Use 7 as the next digit of our solution. 
Result so far: 65152.4017
Deduct 5523 from 6110 and we're left with 587.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5870, and continue the process.

Let's proceed to step 13:
789 goes into 5870 7 times with a remainder of 347.
The number 7 becomes the next digit in our result. 
Result so far: 65152.40177
Deduct 5523 from 5870 and we're left with 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

Our division results in 65152.40177 with a remaining 0.000347.