We're dividing 512965 by 4 
We're looking to find how many times 4 goes into 512965.

Let's proceed to step 1:
The number 4 fits into 5 1 times, leaving a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 4 from 5 and we're left with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 4

On to step 2:
If we divide 11 by 4, we get 2 and a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtracting 8 from 11 leaves us with 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 4

Going ahead to step 3:
32 divided by 4 is 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 128.0
If we take 32 away from 32, we end up with 0.
Fetch the next digit (9) from the dividend, attach it to 0 and continue: 9 / 4

On to step 4:
The number 4 fits into 9 2 times, leaving a remainder of 1.
The next digit of our result is 2. 
Result so far: 1282.0
Subtract 8 from 9 to get 1.
Grab the next digit (6) from the dividend, add it to 1, then carry on: 16 / 4

On to step 5:
4 can be fit into 16 4 times, resulting in a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 12824.0
If we take 16 away from 16, we end up with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 4

Advancing to step 6:
4 goes into 5 1 times with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 128241.0
If we take 4 away from 5, we end up with 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 7:
4 can be fit into 10 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 128241.2
Subtracting 8 from 10 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
4 can be fit into 20 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 128241.25
Subtracting 20 from 20 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
4 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 128241.25
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.

Moving on to step 10:
When dividing 0 by 4, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 128241.25
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 128241.25 with a remaining 0.0.