Let's divide 1016420 by 505
We're looking to find how many times 505 goes into 1016420.

On to step 1:
505 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 505

Step 2:
The number 505 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 10, we get 10.
Fetch the next digit (1) from the dividend, attach it to 10 and continue: 101 / 505

Step 3:
If we divide 101 by 505, we get 0 and a remainder of 101.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 101, we end up with 101.
Grab the next digit (6) from the dividend, add it to 101, then carry on: 1016 / 505

On to step 4:
If we divide 1016 by 505, we get 2 and a remainder of 6.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 1010 from 1016 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 505

Going ahead to step 5:
64 divided by 505 is 0 with a remainder of 64.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
If we subtract 0 from 64, we get 64.
Take the next digit (2) from the dividend and append it to 64, then repeat: 642 / 505

Advancing to step 6:
642 divided by 505 is 1 with a remainder of 137.
Put 1 as the next digit of the answer. 
Result so far: 201.0
Deduct 505 from 642 and we're left with 137.
Bring next digit (0) of the dividend behind the 137 and repeat the process: 1370 / 505

Step 7:
The number 505 fits into 1370 2 times, leaving a remainder of 360.
Put 2 as the next digit of the answer. 
Result so far: 2012.0
Subtracting 1010 from 1370 leaves us with 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Let's proceed to step 8:
When dividing 3600 by 505, we get 7 with a remainder of 65.
The number 7 becomes the next digit in our result. 
Result so far: 2012.7
Subtract 3535 from 3600 to get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Moving on to step 9:
If we divide 650 by 505, we get 1 and a remainder of 145.
Write down 1 as next digit of the result. 
Result so far: 2012.71
If we subtract 505 from 650, we get 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Let's proceed to step 10:
505 can be fit into 1450 2 times, resulting in a remainder of 440.
Record the quotient 2 as the next digit in the result. 
Result so far: 2012.712
The remainder is 440 after subtracting 1010 from 1450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Advancing to step 11:
4400 divided by 505 is 8 with a remainder of 360.
The next digit of our result is 8. 
Result so far: 2012.7128
If we subtract 4040 from 4400, we get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

On to step 12:
505 can be fit into 3600 7 times, resulting in a remainder of 65.
Record the quotient 7 as the next digit in the result. 
Result so far: 2012.71287
Subtracting 3535 from 3600 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Advancing to step 13:
When dividing 650 by 505, we get 1 with a remainder of 145.
The next digit of our result is 1. 
Result so far: 2012.712871
Subtracting 505 from 650 leaves us with 145.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1450, and continue the process.

Moving on to step 14:
1450 divided by 505 is 2 with a remainder of 440.
Use 2 as the next digit of our solution. 
Result so far: 2012.7128712
Deduct 1010 from 1450 and we're left with 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4400, and continue the process.

Moving on to step 15:
505 can be fit into 4400 8 times, resulting in a remainder of 360.
Put 8 as the next digit of the answer. 
Result so far: 2012.71287128
Subtract 4040 from 4400 to get 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

In conclusion, the division gives 2012.71287128 with a balance of 3.6e-07.