Jump To Content

LearnHub




CAT Question: Last two digits of 3^999 - (Learn the Concept)


Find the last two digits of N = 3999

Let's learn a simple yet a powerful concept before we answer this query.

Let R be the remainder when N is divided by D1.

Now the remainder when N is divided by D2, where D2 is a factor of D1 is either

1. R ( if R <D2) or
2. R1, where R1 is the remainder obtained when R is divided by D2 ( if R>D2)

Remember the converse is also true.


Let's look at an example here. ( let me give the converse example)


Let 23 be the remainder obtained when a number N is divded by 30.

Now the remainder obtained when the number is divided 90 must be either 23 or 30×1+23 or 30×2+23 i.e the remainder will be of the form 30p+23 where p =0 or 1 or 2( I think this is clear to everyone)


Let's apply this rule to the follwoing question.


1. Last two digits of N = 3^999.

All of us know that when a number is

  • Divided by 10 the remainder is the unit digit
  • Divided by 100 the remainder is the last two digits of the number
  • Divided by 1000 the remainder is the last four digits of the number and so on.
So let's divide 3999 with 100 and find the remainder. First find the remainder obtained when it is divided by 25 ( since 25 is factor of 100).

3999 % 2= (27333) % 25 = (2333)%25 = [(102433) x 23] % 25

Remainder obtained when 1024 is divided by 25 is 24 but we can take it as -1 also (always take the smallest remainder irrespective of sign)

So finally the problem becomes -1 x 23 %25= -8 =17 ( finally give the positive remainder)

So when our number is divided by 25 the remainder is 17

So when it is divided by 100 the remainder R must be of the form 25p+17

Similarly when N is divided by 4 the remainder is 3.I am taking 4 here because the other factor of 100 is 4.

Hence 25p+17 must leave a remainder 3 when divided by 4. i.e p+1 must leave a remainder 3 when divided by 4. Hence the value of p is 2.

Therefore R = 25p+17 = 67. Hence the number N ends with 67.

That's it folks. This example reveals the power of this simple rule.

======================================================

cat iim gds Online Cat Test cat 2009 cat online cat preparation cat gd iim executive cat paper cat test iim cat india cat questions cat results cat papers mba cat question papers prepare for cat cat tests cat free testcat exam papers cat online test logical reasoning test cat exam papers cat exam cat cut offs

======================================================






  1. ysridhar05 saidSat, 23 Aug 2008 11:08:33 -0000 ( Link )

    Good one sureshbala ! Thanks for contributing.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  2. Jhakda saidTue, 02 Sep 2008 21:44:29 -0000 ( Link )

    is the answer 67 or 43? I get it as 43

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  3. Jhakda saidTue, 02 Sep 2008 22:18:12 -0000 ( Link )

    You mentioned 3999 % 2= (27333) % 25 = (2333)%25 = [(102433) x 23] % 25

    i think there is is typo there, u wanted to write 3999 % 25= (27333) % 25 Now 3999 % 25= (27333) % 25 = (2333)%25 means you have already found the remainder when dividing by 25 so why do you again find the remainder at the end? 3999 % 25= (27333) % 25 = (2333)%25 = [(102433) x 2^3] % 25

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    2 Total Votes

    Post Comments

  4. Jhakda saidTue, 02 Sep 2008 22:47:17 -0000 ( Link )

    Sorry sorry I get it, you continue to find the modulus as 2 ^333 is greater than 25. thats the theory we started with. Got your approach. Thanks

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    2 Total Votes

    Post Comments

  5. bh_sriram saidThu, 18 Sep 2008 13:29:34 -0000 ( Link )

    good concept sir..

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  6. niketshah147 saidSat, 18 Oct 2008 12:32:38 -0000 ( Link )

    partially i got …. but whole part is bouncer for me

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  7. smiley saidTue, 04 Nov 2008 13:23:45 -0000 ( Link )

    goood one…thanks alot :-)

    Actions
    Vote
    Current Rating
    2
    Rate Up
    Rate Down
    2 Total Votes

    Post Comments

  8. taps saidFri, 07 Nov 2008 12:12:23 -0000 ( Link )

    good one many thnx Suresh, also to Jhakda for clearing some doubts…

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  9. Sureshbala saidMon, 17 Nov 2008 14:34:11 -0000 ( Link )

    Folks, believe it or not….my efforts are paying off…there is a question based on the same concept in yesterday’s original CAT exam.

    The question is: Find the last two digits of 7^{2008}

    Clearly, applying the above concept, the remainder when this number is divided by 4 is 1 and when divided by 25 is also 1.

    Hence when this number is divided by 100, the remainder is 1. So the last digits of 7^{2008} are 01.

    Seems that CAT people are copying my questions…Hahaha..

    Regards

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    2 Total Votes

    Post Comments

  10. biswajitei02 saidSat, 07 Feb 2009 21:31:43 -0000 ( Link )

    at last u r dividing by 4 .if i will divide N by 2 then i will get 1.den if i will divide p+1 by 2 iam getting p =0,2….... so if we take 0 it will be 17 .. so ............den what ......... u may be lucky too divide it by 4…. then wat is the way

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    4 Total Votes

    Post Comments

  11. RAJESH_WILDCAT saidSun, 08 Feb 2009 06:25:04 -0000 ( Link )

    I follow till (27 ^ 333)%25 Now 27%25 is 2 so you write (2^333)%25 Can you explain how you can write this?what is the principle behind this?

    please explain this expression.

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  12. asureshwaran saidMon, 09 Feb 2009 08:09:38 -0000 ( Link )

    this lesson is much more useful for cat aspirants than for the gre aspirants man

    arey sureshbala you are great man. really hats off to you.

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  13. msabhi saidSun, 02 Aug 2009 11:03:06 -0000 ( Link )

    best method which i learnt in this forum only is

    3996 * 3 ^3

    (34)249 * 27

    (81)^249 *27

    using concepts from this http://cat.learnhub.com/lesson/5288-find-the-last-two-digits-of-any-no

    21 * 27

    67 !!

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  14. kunalkishore5 saidSat, 29 Aug 2009 06:24:26 -0000 ( Link )

    Kindly help me in understanding this 3999 % 2= (27333) % 25 = (2333)%25 = [(102433) x 23] % 25 i um unable to comprehend the logic involved….urgent

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

  15. Ganu02 saidSat, 14 Nov 2009 07:57:08 -0000 ( Link )

    Good one

    Actions
    Vote
    Current Rating
    1
    Rate Up
    Rate Down
    1 Total Vote

    Post Comments

Your Comment
Textile is Enabled (View Reference)