Vedic Math - Divide bigger numbers by more than two digit number near base

In the last article, we learn to divide three and four digit numbers with two digit numbers near base. In this article, we shall continue to discuss it further to divide bigger numbers by more than two digit number near base.

Procedure is the same as mentioned in the previous article. Please check that for more details about formula.

In below examples, we have deliberately taken 'divisior' of big digits to understand the concept.

12345 divided by 8897
Here p = 10000-8897 = 1103
   1 | 2345
      | 1103        (p x a)
   1 | 3448
Quotient = 1 and Remainder = 3448

51235 divided by 7999
Here p = 10000-7999 = 2001
   5 | 1235
      |10005        (p x a)
   5 |11240 (Here, remainder is greater than the divisor. Add 1 to quotient i.e. 5+1=6 and
                          subtract divisor from remainder i.e.(11240-7999=3241))
   6 | 3241
 Quotient = 6 and Remainder = 3241

12345 divided by 882
Here p = 1000-882 = 112, and a = 1
   12 | 345
     1 | 12      (p x a)
        | 336    (p x (b+e))
   13 | 801
Quotient = 13, Remainder = 801

2002002 divided by 89998
Here p = 1000000-89998 = 10002
   20 | 02002
     2 | 0004     (p x a)
 | 20004   (p x (b+e))
   22 | 22046
 Quotient = 22 and Remainder = 22046

11001 divided by 88
Here p = 100-88 = 12
   110 | 01
     12 |         (p x a = 12 x 1 = 12)
2 | 4      (p x (b+e) = 12 x (1+1) = 24)
  | 48    (p x (c+f+g) = 12 x (0+2+2) = 48)
   124 | 89    (Remainder greater than divisor)
   125 | 1
Quotient = 125 and Remainder = 1

11111111 divided by 99979
Here p = 1000000-99979 = 00021
   111 | 11111
     00 | 021
0 | 0021
  | 00021
   111 | 13442
Quotient = 111, Remainder = 13442