524 | 6 | 8 | 5 | 1 | :2 | 3 | 5 | |||

6 | 0 | 3 | 3 | 2 | 6 | 8 | ||||

-5 | -2 | -29 | -10 | -25 | ||||||

3 | 33 | 2 | 12 | 38 | ||||||

1 | 0 | 5 | 0 | 1 | 5 | |||||

Quotient |

Steps:

1.) Place alon 3 digits from the right since now ther are 3 digits in the flag.

2.) Divide 6 by 6 to get quotient as 1 and remainder as 0.

3.) Carry the remainder 0 to the next digit 8 and get 08 as gross dividend

4.) since there are three digits in the flag we will use 3quotient digits from the 3 immediately previous columns and carry out a cross multiplication with the 3digits of the flag. We will then substract the resultfrom the gross dividend to compute the net dividend.

5.) Since the quotient 1 has only one digit, we will pad it with two zeroes on the left and multiply the quotient 001 by the flag 524 as follows.

5 2 4

0 0 1

4 x 0 + 5 x 1 + 2 x 0 = 5

We will substract 5 from gross dividend 8 to get 3 as net divdend.

6.) Divide 3 by 6 to get quotient as 0 and remainder as 3.

7.) Carry the remainder 3 to the next digit 5 to get 35 as gross dividend.

8.) Now the previous two quotient digits are 0 and 1, we pad them with one zero and multiply by the flag 524 as follows

5 2 4

0 1 0

4 x 0 + 5 x 0 + 2 x 1 = 2

We will substract 2 from the gross dividend 35 to get 33 as net dividend.

9.) Divide 33 by 6 to get the quotient as 5 and remainder as 3.

10.) Carry the remainder 3 to the next digit 1 and get 31 as gross dividend.

11.) Now the previous 3 quotuients are 1 , 0 and 5. We multiply by the flag 524 as follows.

5 2 4

1 0 5

4 x 1 + 2 x 0 +5 x 5 = 29

We will substract 29 from gross dividend 31 and get 2 as the net dividend.

Repeat the process for the remaining columns.