We look at the division of 1020361 by 663 
Our goal is to divide 1020361 by 663.

Step 1:
The number 663 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 663

Moving on to step 2:
663 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 10 and we're left with 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 663

Moving on to step 3:
The number 663 fits into 102 0 times, leaving a remainder of 102.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 102 leaves us with 102.
Fetch the next digit (0) from the dividend, attach it to 102 and continue: 1020 / 663

On to step 4:
663 can be fit into 1020 1 times, resulting in a remainder of 357.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 357 after subtracting 663 from 1020.
Take the next digit (3) from the dividend and append it to 357, then repeat: 3573 / 663

On to step 5:
When dividing 3573 by 663, we get 5 with a remainder of 258.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
The remainder is 258 after subtracting 3315 from 3573.
Append the next digit (6) from the dividend to 258 and continue with: 2586 / 663

Step 6:
663 goes into 2586 3 times with a remainder of 597.
Use 3 as the next digit of our solution. 
Result so far: 153.0
Subtracting 1989 from 2586 leaves us with 597.
Include the next digit (1) from the dividend after 597, then repeat: 5971 / 663

Going ahead to step 7:
If we divide 5971 by 663, we get 9 and a remainder of 4.
Record the quotient 9 as the next digit in the result. 
Result so far: 1539.0
If we take 5967 away from 5971, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
663 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 1539.0
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 9:
400 divided by 663 is 0 with a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 1539.0
If we subtract 0 from 400, we get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The quotient of the division is 1539.0, and the remainder is 0.4.